Skip to content

Commit 3c394d9

Browse files
ismaelestalayomichael-hawker
authored andcommitted
smaller buttons and text
1 parent ff7e7ef commit 3c394d9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private void Load()
7474

7575
var grid = new Grid()
7676
{
77-
Margin = new Thickness(0, 0, -38, 0)
77+
Margin = new Thickness(0, 0, -18, 0)
7878
};
7979

8080
grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) });
@@ -86,7 +86,7 @@ private void Load()
8686
Text = "Do you like it?",
8787
VerticalAlignment = VerticalAlignment.Center,
8888
Margin = new Thickness(0, 0, 24, 0),
89-
FontSize = 16
89+
FontSize = 14
9090
};
9191
grid.Children.Add(textBlock);
9292

@@ -100,19 +100,19 @@ private void Load()
100100
var yesButton = new Button
101101
{
102102
Content = "Yes",
103-
Width = 120,
104-
Height = 40,
105-
FontSize = 16
103+
Width = 100,
104+
Height = 30,
105+
FontSize = 14
106106
};
107107
yesButton.Click += YesButton_Click;
108108
stackPanel.Children.Add(yesButton);
109109

110110
var noButton = new Button
111111
{
112112
Content = "No",
113-
Width = 120,
114-
Height = 40,
115-
FontSize = 16,
113+
Width = 100,
114+
Height = 30,
115+
FontSize = 14,
116116
Margin = new Thickness(4, 0, 0, 0)
117117
};
118118
noButton.Click += NoButton_Click;

0 commit comments

Comments
 (0)