You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This demo application is using MetroWindow (Mahapps Metro 1.1.2) and has a window height=23px when it starts. If you reposition the window by dragging with the mouse, the window height jumps to 39px by itself.
This issue doesn't happen on windows 7, but it does on windows 8. Useful to know: it happens on windows 8 when the performance options are configured as "adjust for best appearance", it doesn't happen when they're configured as "adjust for best performance".
Also useful: 39px is the minimum window height possible when a window has a WindowStyle (I have not found any docs on that, but discovered it by trial and error). A height lower than 39px can only be achieved when WindowStyle=None.
Could it be that dragging the window suddenly restores the WindowStyle?
Edit: I've pinpointed the performance setting which causes this: "Animate windows when minimizing and maximizing"
The text was updated successfully, but these errors were encountered:
I've bumped into a peculiar issue. I've written a small application which demonstrates it: https://www.dropbox.com/s/jndzb2f5ctf8ulf/Mahapps_WindowHeight_Issue.zip?dl=0
This demo application is using MetroWindow (Mahapps Metro 1.1.2) and has a window height=23px when it starts. If you reposition the window by dragging with the mouse, the window height jumps to 39px by itself.
This issue doesn't happen on windows 7, but it does on windows 8. Useful to know: it happens on windows 8 when the performance options are configured as "adjust for best appearance", it doesn't happen when they're configured as "adjust for best performance".
Also useful: 39px is the minimum window height possible when a window has a WindowStyle (I have not found any docs on that, but discovered it by trial and error). A height lower than 39px can only be achieved when WindowStyle=None.
Could it be that dragging the window suddenly restores the WindowStyle?
Edit: I've pinpointed the performance setting which causes this: "Animate windows when minimizing and maximizing"
The text was updated successfully, but these errors were encountered: