Skip to content

Commit e5a0203

Browse files
committed
- Adjust Focus Style
- Adjust Sidebar Width (for long menu name)
1 parent 7fb52e6 commit e5a0203

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

Flow.Launcher/Resources/CustomControlTemplate.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1707,10 +1707,10 @@
17071707
<Setter.Value>
17081708
<ControlTemplate>
17091709
<Border
1710-
Margin="-3"
1710+
Margin="0"
17111711
BorderBrush="{DynamicResource Color05B}"
17121712
BorderThickness="2"
1713-
CornerRadius="5"
1713+
CornerRadius="6"
17141714
SnapsToDevicePixels="true" />
17151715
</ControlTemplate>
17161716
</Setter.Value>

Flow.Launcher/SettingWindow.xaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@
5353
Grid.Column="0"
5454
Width="16"
5555
Height="16"
56-
Margin="10,4,4,4"
56+
Margin="10 4 4 4"
5757
Source="/Images/app.png" />
5858
<TextBlock
5959
Grid.Row="0"
6060
Grid.Column="1"
61-
Margin="4,0,0,0"
61+
Margin="4 0 0 0"
6262
VerticalAlignment="Center"
6363
FontSize="12"
6464
Foreground="{DynamicResource Color05B}"
@@ -111,8 +111,8 @@
111111
</Path>
112112
</Button>
113113
<Button
114-
Grid.Row="0"
115114
Name="RestoreButton"
115+
Grid.Row="0"
116116
Grid.Column="3"
117117
Click="OnMaximizeRestoreButtonClick"
118118
Style="{StaticResource TitleBarButtonStyle}">
@@ -161,24 +161,23 @@
161161
Grid.Row="1"
162162
Grid.Column="0"
163163
Grid.ColumnSpan="5"
164-
Margin="0,0,0,0"
164+
Margin="0 0 0 0"
165165
HorizontalAlignment="Stretch"
166166
VerticalAlignment="Stretch"
167167
AlwaysShowHeader="False"
168168
Background="{DynamicResource Color01B}"
169-
ExpandedModeThresholdWidth="300"
170169
IsBackButtonVisible="Collapsed"
170+
IsBackEnabled="False"
171171
IsPaneToggleButtonVisible="False"
172172
IsSettingsVisible="False"
173173
IsTabStop="False"
174-
OpenPaneLength="230"
174+
OpenPaneLength="240"
175175
PaneDisplayMode="Left"
176-
IsBackEnabled="False"
177176
SelectionChanged="NavigationView_SelectionChanged">
178177
<ui:NavigationView.HeaderTemplate>
179178
<DataTemplate>
180179
<TextBlock
181-
Margin="-8,18,0,5"
180+
Margin="-8 18 0 5"
182181
VerticalAlignment="Center"
183182
FontSize="30"
184183
FontWeight="Medium"
@@ -187,7 +186,7 @@
187186
</DataTemplate>
188187
</ui:NavigationView.HeaderTemplate>
189188
<ui:NavigationView.PaneCustomContent>
190-
<Grid Margin="0,35,0,0" HorizontalAlignment="Center">
189+
<Grid Margin="0 35 0 0" HorizontalAlignment="Center">
191190
<Grid.RowDefinitions>
192191
<RowDefinition Height="50" />
193192
<RowDefinition Height="27" />
@@ -201,7 +200,7 @@
201200
Source="images/app.png" />
202201
<TextBlock
203202
Grid.Row="1"
204-
Margin="0,12,0,0"
203+
Margin="0 12 0 0"
205204
Style="{StaticResource TabMenu}"
206205
Text="Flow Launcher"
207206
TextAlignment="Center" />

0 commit comments

Comments
 (0)