mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Finally corrected weird Windows 8 and RT bug
Refactor TopMenu User Control visibility with Visual State Manager
This commit is contained in:
@@ -136,6 +136,7 @@ namespace ModernKeePass.Views
|
||||
private void GroupDetailPage_OnSizeChanged(object sender, SizeChangedEventArgs e)
|
||||
{
|
||||
VisualStateManager.GoToState(this, e.NewSize.Width < 800 ? "Small" : "Large", true);
|
||||
VisualStateManager.GoToState(TopMenu, e.NewSize.Width < 800 ? "Collapsed" : "Overflowed", true);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Reference in New Issue
Block a user