Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Fixes to ModernDialog.xaml #157

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

UpwindSpring01
Copy link

-Hide Minimize, Maximize and Restore(shows up when WindowState is set to Maximized) when ResizeMode is NoResize, same as a normal window does

-Added fix for when WindowState is Maximized and ResizeMode is NoResize, when both were set before you could start dragging the window and it would snap to the size of MinWidth and MinHeight.

… to Maximized) when ResizeMode is NoResize

-Added fix for when WindowState is Maximized and ResizeMode is NoResize, when both were set before you could start dragging the window and it would snap to the size of MinWidth and MinHeight
@Dvornik
Copy link

Dvornik commented Feb 1, 2017

UpwindSpring01 the visual bug:

2017-02-01 17 35 50

Style for window:

<Style x:Key="DialogWindow"
           BasedOn="{StaticResource BlankWindow}"
           TargetType="{x:Type mui:ModernWindow}">
        <Setter Property="ResizeMode" Value="NoResize" />        
</Style>

Conflict with BlankWindow.

@UpwindSpring01
Copy link
Author

Thanks for the report

@Dvornik
Copy link

Dvornik commented Feb 1, 2017

Good job!

bakx added a commit to bakx/mui that referenced this pull request May 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants