Skip to content

Commit 155d8a9

Browse files
authored
Tweak spacing on about dialog (#18993)
Some minor styling tweaks to the about page. - Tweaking the spacing of the version-checking / update available text. - Wrapping the hyperlinkbuttons in a StackPanel so it's easier to set a negative margin so they are visually aligned with the version / title text. Closes #18994
1 parent 74b5a0c commit 155d8a9

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

src/cascadia/TerminalApp/AboutDialog.xaml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@
2828
</TextBlock>
2929

3030
<StackPanel Orientation="Vertical">
31-
<StackPanel Padding="0,4,0,4"
31+
<StackPanel Padding="0,16,0,16"
3232
VerticalAlignment="Center"
3333
Orientation="Horizontal"
34+
Spacing="8"
3435
Visibility="{x:Bind CheckingForUpdates, Mode=OneWay}">
3536
<mux:ProgressRing Width="16"
3637
Height="16"
3738
IsActive="True"
3839
IsIndeterminate="True" />
39-
<TextBlock x:Uid="AboutDialog_CheckingForUpdatesLabel"
40-
Padding="4,0,0,0" />
40+
<TextBlock x:Uid="AboutDialog_CheckingForUpdatesLabel" />
4141
</StackPanel>
42-
<StackPanel Padding="0,4,0,4"
42+
<StackPanel Padding="0,16,0,16"
4343
VerticalAlignment="Center"
4444
Orientation="Vertical"
4545
Visibility="{x:Bind UpdatesAvailable, Mode=OneWay}">
@@ -51,15 +51,18 @@
5151
</StackPanel>
5252
</StackPanel>
5353

54-
<HyperlinkButton x:Uid="AboutDialog_SourceCodeLink"
55-
NavigateUri="https://go.microsoft.com/fwlink/?linkid=2203152" />
56-
<HyperlinkButton x:Uid="AboutDialog_DocumentationLink"
57-
NavigateUri="https://go.microsoft.com/fwlink/?linkid=2125416" />
58-
<HyperlinkButton x:Uid="AboutDialog_ReleaseNotesLink"
59-
NavigateUri="https://go.microsoft.com/fwlink/?linkid=2125417" />
60-
<HyperlinkButton x:Uid="AboutDialog_PrivacyPolicyLink"
61-
NavigateUri="https://go.microsoft.com/fwlink/?linkid=2125418" />
62-
<HyperlinkButton x:Uid="AboutDialog_ThirdPartyNoticesLink"
63-
Click="_ThirdPartyNoticesOnClick" />
54+
<StackPanel Margin="-12,0,0,0"
55+
Orientation="Vertical">
56+
<HyperlinkButton x:Uid="AboutDialog_SourceCodeLink"
57+
NavigateUri="https://go.microsoft.com/fwlink/?linkid=2203152" />
58+
<HyperlinkButton x:Uid="AboutDialog_DocumentationLink"
59+
NavigateUri="https://go.microsoft.com/fwlink/?linkid=2125416" />
60+
<HyperlinkButton x:Uid="AboutDialog_ReleaseNotesLink"
61+
NavigateUri="https://go.microsoft.com/fwlink/?linkid=2125417" />
62+
<HyperlinkButton x:Uid="AboutDialog_PrivacyPolicyLink"
63+
NavigateUri="https://go.microsoft.com/fwlink/?linkid=2125418" />
64+
<HyperlinkButton x:Uid="AboutDialog_ThirdPartyNoticesLink"
65+
Click="_ThirdPartyNoticesOnClick" />
66+
</StackPanel>
6467
</StackPanel>
6568
</ContentDialog>

0 commit comments

Comments
 (0)