Skip to content

Commit 0240266

Browse files
Update 30 to 32 for DPI scaling benefit
1 parent e752eb3 commit 0240266

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification/InAppNotificationCode.bind

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
<StackPanel x:Name="ButtonsStackPanel" Grid.RowSpan="2" Grid.Column="1"
2121
Orientation="Horizontal" VerticalAlignment="Center">
22-
<Button x:Name="YesButton" Content="Yes" Width="150" Height="30" Click="YesButton_Click" />
23-
<Button x:Name="NoButton" Content="No" Width="150" Height="30" Margin="10 0 0 0" Click="NoButton_Click" />
22+
<Button x:Name="YesButton" Content="Yes" Width="100" Height="32" Click="YesButton_Click" />
23+
<Button x:Name="NoButton" Content="No" Width="100" Height="32" Margin="10 0 0 0" Click="NoButton_Click" />
2424
</StackPanel>
2525
</Grid>
2626
</Grid>

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification/InAppNotificationPage.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private void Load()
101101
{
102102
Content = "Yes",
103103
Width = 100,
104-
Height = 30,
104+
Height = 32,
105105
FontSize = 14
106106
};
107107
yesButton.Click += YesButton_Click;
@@ -111,7 +111,7 @@ private void Load()
111111
{
112112
Content = "No",
113113
Width = 100,
114-
Height = 30,
114+
Height = 32,
115115
FontSize = 14,
116116
Margin = new Thickness(4, 0, 0, 0)
117117
};

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification/InAppNotificationXaml.bind

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
Margin="0"
233233
FontSize="14"
234234
Content="Ok"
235-
Height="30"
235+
Height="32"
236236
Width="100"
237237
Command="{StaticResource DismissCommand}"
238238
CommandParameter="{Binding ElementName=ExampleInAppNotification}"
@@ -242,7 +242,7 @@
242242
Margin="4,0,0,0"
243243
FontSize="14"
244244
Content="Cancel"
245-
Height="30"
245+
Height="32"
246246
Width="100"
247247
Command="{StaticResource DismissCommand}"
248248
CommandParameter="{Binding ElementName=ExampleInAppNotification}"

0 commit comments

Comments
 (0)