Skip to content

Commit 1999e4b

Browse files
committed
ux: remove button padding and use content alignment to center text
Signed-off-by: leo <[email protected]>
1 parent 3925046 commit 1999e4b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Views/LauncherPage.axaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,19 @@
6060
HorizontalAlignment="Right"
6161
IsVisible="{Binding InProgress, Converter={x:Static BoolConverters.Not}}">
6262
<Button Classes="flat primary"
63-
Width="80"
63+
Width="80" Height="28"
64+
Padding="0"
65+
HorizontalContentAlignment="Center"
66+
VerticalContentAlignment="Center"
6467
Content="{DynamicResource Text.Sure}"
6568
Click="OnPopupSure"
6669
HotKey="Enter"/>
6770
<Button Classes="flat"
68-
Width="80"
71+
Width="80" Height="28"
6972
Margin="8,0,0,0"
73+
Padding="0"
74+
HorizontalContentAlignment="Center"
75+
VerticalContentAlignment="Center"
7076
Content="{DynamicResource Text.Cancel}"
7177
Click="OnPopupCancel"/>
7278
</StackPanel>

0 commit comments

Comments
 (0)