Materialdesigninxamltoolkit: 3.1.0 introduces a weird auto-sizing bug

Created on 27 Apr 2020  路  3Comments  路  Source: MaterialDesignInXAML/MaterialDesignInXamlToolkit

For some reason, it seems that DialogHost in v3.1.0 is causing some weird autosizing behavior that didn't occur in 3.0.1.

I've gone and created a repository with the minimum amount of code to see it in action.

Just open it up and run the project. It should look normal for a second then auto-size the width to be the full width of all your monitors. In my case, two 1080p monitors.

bug up-for-grabs

Most helpful comment

It is once again the DashedLine. The referenced issue #1642 is also back again.

I am recreating the DashedLine as an Adorner. First steps work and fixes both problems. But I need more time.

All 3 comments

Haven't tracked down the reason for this issue, but using git bisect, this commit is the culprit.

I delete previous comment. I was wrong. But I will look anyway.

It is once again the DashedLine. The referenced issue #1642 is also back again.

I am recreating the DashedLine as an Adorner. First steps work and fixes both problems. But I need more time.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheSylence picture TheSylence  路  12Comments

oSethoum picture oSethoum  路  10Comments

darturdotnetdeveloper picture darturdotnetdeveloper  路  11Comments

olegsavelos picture olegsavelos  路  11Comments

Arshad8464 picture Arshad8464  路  31Comments