Skip to content

Commit 0e65cde

Browse files
do a full pass on margins/paddings/spacing/etc to improve overall consistency and polish
1 parent bf9c4e4 commit 0e65cde

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

DesktopClock/SettingsWindow.xaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<Setter Property="BorderThickness" Value="0" />
3131
<Setter Property="Margin" Value="0,0,0,2" />
3232
<Setter Property="Padding" Value="8,6,24,6" />
33-
<Setter Property="MinHeight" Value="34" />
33+
<Setter Property="MinHeight" Value="32" />
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,5,24,5" />
42+
<Setter Property="Padding" Value="8,4,20,4" />
4343
<Setter Property="MinWidth" Value="150" />
4444
<Setter Property="MinHeight" Value="0" />
45-
<Setter Property="Margin" Value="0,0,0,3" />
45+
<Setter Property="Margin" Value="0,0,0,4" />
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,1,0,0" />
54+
<Setter Property="Margin" Value="0,2,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,10,8,8">
131+
<Grid Margin="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,6">
139+
Margin="8,0,20,4">
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,8" />
145+
Margin="0,0,0,6" />
146146
</StackPanel>
147147

148148
<StackPanel Grid.Row="1"

0 commit comments

Comments
 (0)