Skip to content

Commit dc50bfb

Browse files
authored
Update MainWindow.xaml (#2961)
Update windows height for better compatibility with HD screens (1280x720 or 1366x768)
1 parent 3918b58 commit dc50bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MainDemo.Wpf/MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
xmlns:system="clr-namespace:System;assembly=mscorlib"
99
Title="Material Design in XAML"
1010
Width="1100"
11-
Height="800"
11+
MaxHeight="{Binding Source={x:Static SystemParameters.MaximizedPrimaryScreenHeight}}"
1212
d:DataContext="{d:DesignInstance domain:MainWindowViewModel}"
1313
AutomationProperties.Name="{Binding Title, RelativeSource={RelativeSource Self}}"
1414
Icon="favicon.ico"

0 commit comments

Comments
 (0)