New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep BorderThickness on maximize if necessary #2731

wants to merge 23 commits into
base: develop


None yet
2 participants

Deadpikle commented Nov 1, 2016

What changed?

Implements enhancement #2729

Adds KeepBorderOnMaximize property to MetroWindow. This property defaults to False so that old behavior is maintained. If True, the right/bottom border is kept on maximize if the maximized window size will be less than the current monitor resolution.

This screenshot shows what the demo window looks like when MaxHeight and MaxWidth are both 400 and KeepBorderOnMaximize is True.

Note that I had to reorder the logic just slightly in HandleMaximize() so that I could use the monitorInfo variable earlier.

Deadpikle and others added some commits Nov 1, 2016


This comment has been minimized.


Deadpikle commented Aug 28, 2017

Closing due to fix being in ControlzEx now.

@Deadpikle Deadpikle closed this Aug 28, 2017

@punker76 punker76 added this to the 1.6.0 milestone Aug 28, 2017

@punker76 punker76 added the Bug label Feb 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment