Skip to content
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

Closed
wants to merge 23 commits into from
Closed

Keep BorderThickness on maximize if necessary #2731

wants to merge 23 commits into from

Conversation

Deadpikle
Copy link
Contributor

@Deadpikle 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.
topleft

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 23 commits November 1, 2016 10:20
@Deadpikle
Copy link
Contributor Author

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
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants