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

In InputDialog,The button is partially invisible. #3408

Closed
li-zheng-hao opened this issue Dec 15, 2018 · 0 comments · Fixed by #3503
Closed

In InputDialog,The button is partially invisible. #3408

li-zheng-hao opened this issue Dec 15, 2018 · 0 comments · Fixed by #3503
Assignees
Labels
Milestone

Comments

@li-zheng-hao
Copy link

My Metro Version is 1.6.5.
bug1
bug2

I tried to resize my window width to smaller than a certain number, this problem happened, but when the window width is big enough, it will not happen.(maybe the container's margin is not suitable?)

I'm a beginner of WPF and Metro, How can I resolve this problem?

@punker76 punker76 added this to the 2.0.0 milestone Dec 19, 2018
@punker76 punker76 self-assigned this Dec 19, 2018
@punker76 punker76 added the Bug label Apr 3, 2019
punker76 added a commit that referenced this issue May 20, 2019
If there are more then 2 or 3 window commands on the right or left site and the user resizes the window then the Min, Max, Close buttons move out the window and open dialogs will not resize to a slower size.

To solve this I changed the window commands control from ItemsControl to ToolBar class which allows us to use the overlow mechanism of this control.

The default window style is now changed to use this new mechanism.

These changes causes also a breaking change to the window commands overlay behavior. This feature will be removed, because a window command should not overlay when a Flyout is open.

The clean centered style still needs changes for the centered title behavior.
punker76 added a commit that referenced this issue May 21, 2019
The centered window title style works now also with the new window commands overflow mechanism.
punker76 added a commit that referenced this issue May 23, 2019
- Improve toggle button mouse over and checked visual (change background and foreground)
- Fix binding for Foreground and Background of the inner controls of the WindowCommandsItem
punker76 added a commit that referenced this issue May 23, 2019
If there are more then 2 or 3 window commands on the right or left site and the user resizes the window then the Min, Max, Close buttons move out the window and open dialogs will not resize to a slower size.

To solve this I changed the window commands control from ItemsControl to ToolBar class which allows us to use the overlow mechanism of this control.

The default window style is now changed to use this new mechanism.

These changes causes also a breaking change to the window commands overlay behavior. This feature will be removed, because a window command should not overlay when a Flyout is open.

The clean centered style still needs changes for the centered title behavior.
punker76 added a commit that referenced this issue May 23, 2019
The centered window title style works now also with the new window commands overflow mechanism.
punker76 added a commit that referenced this issue May 23, 2019
- Improve toggle button mouse over and checked visual (change background and foreground)
- Fix binding for Foreground and Background of the inner controls of the WindowCommandsItem
punker76 added a commit that referenced this issue May 24, 2019
The 'ParentWindowCommands' must not be a static property.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants