Skip to content

Commit 26bc82f

Browse files
committed
ux: icon offset in toolbar
Signed-off-by: leo <longshuang@msn.cn> ux: icon offset in toolbar Signed-off-by: leo <longshuang@msn.cn>
1 parent 110251e commit 26bc82f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎src/Views/RepositoryToolbar.axaml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<Button Width="0" Height="0" Click="FetchDirectlyByHotKey" IsVisible="False" HotKey="{OnPlatform Ctrl+Down, macOS=⌘+Down}"/>
128128
</StackPanel>
129129

130-
<Grid Grid.Column="3" HorizontalAlignment="Right" ColumnDefinitions="Auto,*,Auto,Auto,6">
130+
<Grid Grid.Column="3" HorizontalAlignment="Right" ColumnDefinitions="Auto,*,32,32,6">
131131
<Path Grid.Column="0"
132132
Width="13" Height="13"
133133
Margin="18,0,0,0"
@@ -143,17 +143,17 @@
143143

144144
<Button Grid.Column="2"
145145
Classes="icon_button"
146-
Width="28"
146+
Width="32"
147147
Click="NavigateToHead"
148148
ToolTip.Tip="{DynamicResource Text.Repository.NavigateToCurrentHead}">
149-
<Path Width="13" Height="13"
150-
Margin="0,2,0,0"
149+
<Path Width="14" Height="14"
150+
Margin="0,1,0,0"
151151
Data="{StaticResource Icons.Target}"/>
152152
</Button>
153153

154154
<ToggleButton Grid.Column="3"
155155
Classes="line_path"
156-
Width="28"
156+
Width="32"
157157
IsChecked="{Binding FocusOnCurrentBranch, Mode=TwoWay}"
158158
ToolTip.Tip="{DynamicResource Text.Repository.FocusOnCurrentBranch}">
159159
<ToggleButton.Styles>
@@ -162,7 +162,7 @@
162162
</Style>
163163
</ToggleButton.Styles>
164164

165-
<Path Width="13" Height="13"
165+
<Path Width="14" Height="14"
166166
Data="{StaticResource Icons.Magic}"/>
167167
</ToggleButton>
168168
</Grid>

0 commit comments

Comments
 (0)