Skip to content

Commit 7725295

Browse files
author
Yair Aichenbaum
committed
Refactored Preferences page
1 parent e46be8b commit 7725295

File tree

3 files changed

+285
-135
lines changed

3 files changed

+285
-135
lines changed

Files/SettingsPages/About.xaml

Lines changed: 76 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -9,88 +9,90 @@
99
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
1010
mc:Ignorable="d">
1111

12-
<Grid Margin="24,14">
13-
<StackPanel
14-
HorizontalAlignment="Stretch"
15-
VerticalAlignment="Stretch"
16-
Orientation="Vertical"
17-
Spacing="14">
12+
<Grid >
13+
<ScrollViewer >
14+
<StackPanel Margin="24,14"
15+
HorizontalAlignment="Stretch"
16+
VerticalAlignment="Stretch"
17+
Orientation="Vertical"
18+
Spacing="14">
1819

19-
<TextBlock FontSize="22" Text="About" />
20+
<TextBlock FontSize="22" Text="About" />
2021

21-
<StackPanel Orientation="Horizontal">
22-
<Image
23-
Width="60"
24-
Source="/Assets/Files UWP Icon.png"
25-
Stretch="Uniform" />
26-
<StackPanel Padding="12,0,0,0" Orientation="Vertical">
27-
<TextBlock FontSize="16" Text="Files UWP" />
28-
<TextBlock
29-
Padding="0,4"
30-
x:Name="VersionNumber"
31-
FontSize="14"
32-
Opacity=".5"
33-
Text="Version: 0.5.0" />
22+
<StackPanel Orientation="Horizontal">
23+
<Image
24+
Width="60"
25+
Source="/Assets/Files UWP Icon.png"
26+
Stretch="Uniform" />
27+
<StackPanel Padding="12,0,0,0" Orientation="Vertical">
28+
<TextBlock FontSize="16" Text="Files UWP" />
29+
<TextBlock
30+
x:Name="VersionNumber"
31+
Padding="0,4"
32+
FontSize="14"
33+
Opacity=".5"
34+
Text="Version: 0.5.0" />
35+
</StackPanel>
3436
</StackPanel>
35-
</StackPanel>
36-
37-
<ListView
38-
HorizontalAlignment="Stretch"
39-
IsItemClickEnabled="True"
40-
ItemClick="ListView_ItemClick">
41-
<ListViewItem
42-
x:Name="FeedbackForm"
43-
Height="65"
37+
38+
<ListView
4439
HorizontalAlignment="Stretch"
45-
IsEnabled="True">
46-
<StackPanel
47-
Padding="0,14"
48-
Orientation="Horizontal"
49-
Spacing="14">
50-
<FontIcon Glyph="&#xED15;" />
51-
<StackPanel VerticalAlignment="Center" Orientation="Vertical">
52-
<TextBlock Text="Submit Feedback" />
53-
<TextBlock
54-
Foreground="Gray"
55-
Text="Submit an issue report to provide the developers with information"
56-
TextWrapping="Wrap" />
40+
IsItemClickEnabled="True"
41+
ItemClick="ListView_ItemClick">
42+
<ListViewItem
43+
x:Name="FeedbackForm"
44+
Height="65"
45+
HorizontalAlignment="Stretch"
46+
IsEnabled="True">
47+
<StackPanel
48+
Padding="0,14"
49+
Orientation="Horizontal"
50+
Spacing="14">
51+
<FontIcon Glyph="&#xED15;" />
52+
<StackPanel VerticalAlignment="Center" Orientation="Vertical">
53+
<TextBlock Text="Submit Feedback" />
54+
<TextBlock
55+
Foreground="Gray"
56+
Text="Submit an issue report to provide the developers with information"
57+
TextWrapping="Wrap" />
58+
</StackPanel>
5759
</StackPanel>
58-
</StackPanel>
59-
</ListViewItem>
60-
</ListView>
60+
</ListViewItem>
61+
</ListView>
6162

62-
<StackPanel Spacing="4">
63-
<TextBlock FontSize="16" Text="Special thanks to:" />
64-
<TextBlock Text="SOI7" />
65-
<TextBlock Text="jeffsieu" />
66-
<TextBlock Text="yaichenbaum" />
67-
</StackPanel>
68-
69-
<TextBlock
70-
Margin="0,16,0,0"
71-
FontSize="18"
72-
Text="Third Party Licenses" />
63+
<StackPanel Spacing="4">
64+
<TextBlock FontSize="16" Text="Special thanks to:" />
65+
<TextBlock Text="SOI7" />
66+
<TextBlock Text="jeffsieu" />
67+
<TextBlock Text="yaichenbaum" />
68+
</StackPanel>
7369

74-
<StackPanel Orientation="Horizontal">
75-
<BitmapIcon
76-
Width="16"
77-
VerticalAlignment="Center"
78-
UriSource="ms-appx:///Assets/QuickLook/quicklook_icon_black.png" />
7970
<TextBlock
80-
Margin="2,0,16,0"
81-
VerticalAlignment="Bottom"
82-
FontSize="16"
83-
Text="QuickLook" />
84-
<TextBlock
85-
Margin="0,0,8,0"
86-
VerticalAlignment="Bottom"
87-
TextWrapping="WrapWholeWords">
88-
<Span xml:space="preserve"><Run>Website: </Run><Hyperlink NavigateUri="https://github.com/QL-Win/QuickLook">Link</Hyperlink></Span>
89-
</TextBlock>
90-
<TextBlock VerticalAlignment="Bottom" TextWrapping="WrapWholeWords">
91-
<Span xml:space="preserve"><Run>License: </Run><Hyperlink NavigateUri="https://github.com/QL-Win/QuickLook/blob/master/LICENSE-GPL.txt">Link</Hyperlink></Span>
92-
</TextBlock>
71+
Margin="0,16,0,0"
72+
FontSize="18"
73+
Text="Third Party Licenses" />
74+
75+
<StackPanel Orientation="Horizontal">
76+
<BitmapIcon
77+
Width="16"
78+
VerticalAlignment="Center"
79+
UriSource="ms-appx:///Assets/QuickLook/quicklook_icon_black.png" />
80+
<TextBlock
81+
Margin="2,0,16,0"
82+
VerticalAlignment="Bottom"
83+
FontSize="16"
84+
Text="QuickLook" />
85+
<TextBlock
86+
Margin="0,0,8,0"
87+
VerticalAlignment="Bottom"
88+
TextWrapping="WrapWholeWords">
89+
<Span xml:space="preserve"><Run>Website: </Run><Hyperlink NavigateUri="https://github.com/QL-Win/QuickLook">Link</Hyperlink></Span>
90+
</TextBlock>
91+
<TextBlock VerticalAlignment="Bottom" TextWrapping="WrapWholeWords">
92+
<Span xml:space="preserve"><Run>License: </Run><Hyperlink NavigateUri="https://github.com/QL-Win/QuickLook/blob/master/LICENSE-GPL.txt">Link</Hyperlink></Span>
93+
</TextBlock>
94+
</StackPanel>
9395
</StackPanel>
94-
</StackPanel>
96+
</ScrollViewer>
9597
</Grid>
9698
</Page>

0 commit comments

Comments
 (0)