Skip to content

Commit bf9c4e4

Browse files
the header and tool buttons have too much surrounding padding so they eat up the nav buttons if the window is too small
1 parent 9d90afa commit bf9c4e4

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

DesktopClock/SettingsWindow.xaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
<Setter Property="Background" Value="Transparent" />
3030
<Setter Property="BorderThickness" Value="0" />
3131
<Setter Property="Margin" Value="0,0,0,2" />
32-
<Setter Property="Padding" Value="8,8,24,8" />
33-
<Setter Property="MinHeight" Value="40" />
32+
<Setter Property="Padding" Value="8,6,24,6" />
33+
<Setter Property="MinHeight" Value="34" />
3434
</Style>
3535

3636
<Style x:Key="SidebarToolButton"
@@ -39,10 +39,10 @@
3939
<Setter Property="Background" Value="#FFFFFF" />
4040
<Setter Property="BorderBrush" Value="#DADDE3" />
4141
<Setter Property="BorderThickness" Value="1" />
42-
<Setter Property="Padding" Value="8,7,24,7" />
42+
<Setter Property="Padding" Value="8,5,24,5" />
4343
<Setter Property="MinWidth" Value="150" />
4444
<Setter Property="MinHeight" Value="0" />
45-
<Setter Property="Margin" Value="0,0,0,4" />
45+
<Setter Property="Margin" Value="0,0,0,3" />
4646
</Style>
4747

4848
<Style x:Key="SidebarToolDescription"
@@ -51,7 +51,7 @@
5151
<Setter Property="FontWeight" Value="Normal" />
5252
<Setter Property="TextWrapping" Value="Wrap" />
5353
<Setter Property="Opacity" Value="0.75" />
54-
<Setter Property="Margin" Value="0,2,0,0" />
54+
<Setter Property="Margin" Value="0,1,0,0" />
5555
</Style>
5656

5757
<Style x:Key="ColorSwatchButton"
@@ -128,21 +128,21 @@
128128
Background="#FAFAFA"
129129
BorderBrush="#E1E4E8"
130130
BorderThickness="0,0,1,0">
131-
<Grid Margin="8,18,8,16">
131+
<Grid Margin="8,10,8,8">
132132
<Grid.RowDefinitions>
133133
<RowDefinition Height="Auto" />
134134
<RowDefinition Height="*" />
135135
<RowDefinition Height="Auto" />
136136
</Grid.RowDefinitions>
137137

138138
<StackPanel Grid.Row="0"
139-
Margin="8,0,24,0">
139+
Margin="8,0,24,6">
140140
<TextBlock Text="DesktopClock"
141141
FontSize="20"
142142
FontWeight="SemiBold" />
143143
<TextBlock Text="{Binding AppVersion, StringFormat=v{0}}"
144144
Foreground="#5B6F8E"
145-
Margin="0,0,0,22" />
145+
Margin="0,0,0,8" />
146146
</StackPanel>
147147

148148
<StackPanel Grid.Row="1"

0 commit comments

Comments
 (0)