Skip to content

Commit c1d67fd

Browse files
author
Yair Aichenbaum
committed
Changed the settings UI
Refactored the about page
1 parent d0b541f commit c1d67fd

File tree

2 files changed

+50
-80
lines changed

2 files changed

+50
-80
lines changed

Files/Settings.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
IsBackButtonVisible="Collapsed"
1616
IsSettingsVisible="False"
1717
ItemInvoked="NavigationView_ItemInvoked"
18-
PaneDisplayMode="Top">
18+
PaneDisplayMode="Left">
1919
<UILib:NavigationView.MenuItems>
2020
<UILib:NavigationViewItem Content="Personalization" IsSelected="True">
2121
<UILib:NavigationViewItem.Icon>

Files/SettingsPages/About.xaml

Lines changed: 49 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -10,60 +10,31 @@
1010
mc:Ignorable="d">
1111

1212
<Grid Margin="24,14">
13-
<Grid.RowDefinitions>
14-
<RowDefinition Height="Auto" />
15-
<RowDefinition Height="Auto" />
16-
<RowDefinition />
17-
</Grid.RowDefinitions>
1813
<StackPanel
1914
HorizontalAlignment="Stretch"
2015
VerticalAlignment="Stretch"
21-
Orientation="Horizontal"
22-
Spacing="24">
23-
<Grid Width="150" Height="150">
24-
<my:DropShadowPanel OffsetY="15">
25-
<Image Source="/Assets/Files UWP Icon.png" Stretch="Uniform" />
26-
</my:DropShadowPanel>
27-
</Grid>
28-
29-
<StackPanel
30-
Margin="0,0"
31-
VerticalAlignment="Center"
32-
Orientation="Vertical">
33-
<TextBlock
34-
x:Name="Header"
35-
HorizontalAlignment="Left"
36-
VerticalAlignment="Top"
37-
FontFamily="Segoe UI Black"
38-
FontSize="40"
39-
FontWeight="Bold"
40-
Text="Files" />
41-
<TextBlock
42-
Margin="0,0,0,0"
43-
FontFamily="Segoe UI"
44-
FontSize="18"
45-
FontWeight="Medium"
46-
Text="Product Information" />
47-
<TextBlock FontSize="14" Text="Edition: Pre-Release" />
48-
<TextBlock
49-
x:Name="VersionNumber"
50-
FontSize="14"
51-
Text="Version: 0.5.0" />
52-
</StackPanel>
53-
54-
</StackPanel>
16+
Orientation="Vertical"
17+
Spacing="14">
5518

19+
<TextBlock FontSize="22" Text="About" />
5620

57-
<StackPanel
58-
Grid.Row="1"
59-
Orientation="Vertical"
60-
Spacing="8">
61-
<TextBlock
62-
VerticalAlignment="Top"
63-
Text="The community thanks contributors: SOI7, jeffsieu, and yaichenbaum for the design of our wonderful icon."
64-
TextWrapping="WrapWholeWords" />
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" />
34+
</StackPanel>
35+
</StackPanel>
36+
6537
<ListView
66-
Margin="0,0,0,0"
6738
HorizontalAlignment="Stretch"
6839
IsItemClickEnabled="True"
6940
ItemClick="ListView_ItemClick">
@@ -76,51 +47,50 @@
7647
Padding="0,14"
7748
Orientation="Horizontal"
7849
Spacing="14">
79-
<FontIcon Margin="0" Glyph="&#xED15;" />
50+
<FontIcon Glyph="&#xED15;" />
8051
<StackPanel VerticalAlignment="Center" Orientation="Vertical">
8152
<TextBlock Text="Submit Feedback" />
8253
<TextBlock
8354
Foreground="Gray"
8455
Text="Submit an issue report to provide the developers with information"
85-
TextWrapping="WrapWholeWords" />
56+
TextWrapping="Wrap" />
8657
</StackPanel>
8758
</StackPanel>
8859
</ListViewItem>
8960
</ListView>
90-
</StackPanel>
9161

92-
<StackPanel Grid.Row="2">
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+
9369
<TextBlock
9470
Margin="0,16,0,0"
9571
FontSize="18"
9672
Text="Third Party Licenses" />
97-
<ListView>
98-
<ListViewItem>
99-
<StackPanel>
100-
<StackPanel Orientation="Horizontal">
101-
<BitmapIcon
102-
Width="16"
103-
VerticalAlignment="Center"
104-
UriSource="ms-appx:///Assets/QuickLook/quicklook_icon_black.png" />
105-
<TextBlock
106-
Margin="2,0,16,0"
107-
VerticalAlignment="Bottom"
108-
FontSize="16"
109-
Text="QuickLook" />
110-
<TextBlock
111-
Margin="0,0,8,0"
112-
VerticalAlignment="Bottom"
113-
TextWrapping="WrapWholeWords">
114-
<Span xml:space="preserve"><Run>Website: </Run><Hyperlink NavigateUri="https://github.com/QL-Win/QuickLook">Link</Hyperlink></Span>
115-
</TextBlock>
116-
<TextBlock VerticalAlignment="Bottom" TextWrapping="WrapWholeWords">
117-
<Span xml:space="preserve"><Run>License: </Run><Hyperlink NavigateUri="https://github.com/QL-Win/QuickLook/blob/master/LICENSE-GPL.txt">Link</Hyperlink></Span>
118-
</TextBlock>
119-
</StackPanel>
120-
</StackPanel>
121-
</ListViewItem>
122-
</ListView>
123-
</StackPanel>
12473

74+
<StackPanel Orientation="Horizontal">
75+
<BitmapIcon
76+
Width="16"
77+
VerticalAlignment="Center"
78+
UriSource="ms-appx:///Assets/QuickLook/quicklook_icon_black.png" />
79+
<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>
93+
</StackPanel>
94+
</StackPanel>
12595
</Grid>
12696
</Page>

0 commit comments

Comments
 (0)