mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 19:02:39 +08:00
ux: unify content height of page switcher (exclude borders)
This commit is contained in:
@@ -650,7 +650,6 @@
|
||||
</Style>
|
||||
|
||||
<Style Selector="ListBox.page_switcher ListBoxItem">
|
||||
<Setter Property="Height" Value="28"/>
|
||||
<Setter Property="Margin" Value="0"/>
|
||||
<Setter Property="Padding" Value="0"/>
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Border2}"/>
|
||||
|
||||
@@ -123,14 +123,14 @@
|
||||
</ItemsPanelTemplate>
|
||||
</ListBox.ItemsPanel>
|
||||
|
||||
<ListBoxItem BorderThickness="1,1,1,1" CornerRadius="6,6,0,0">
|
||||
<ListBoxItem Height="28" BorderThickness="1,1,1,1" CornerRadius="6,6,0,0">
|
||||
<Grid Height="28" ColumnDefinitions="32,*">
|
||||
<Path Grid.Column="0" Width="12" Height="12" Data="{StaticResource Icons.Histories}"/>
|
||||
<TextBlock Grid.Column="1" Classes="monospace" Text="{DynamicResource Text.Histories}"/>
|
||||
</Grid>
|
||||
</ListBoxItem>
|
||||
|
||||
<ListBoxItem BorderThickness="1,0,1,0">
|
||||
<ListBoxItem Height="26" BorderThickness="1,0,1,0">
|
||||
<Grid Height="28" ColumnDefinitions="32,*,Auto">
|
||||
<Path Grid.Column="0" Width="12" Height="12" Data="{StaticResource Icons.Send}"/>
|
||||
<TextBlock Grid.Column="1" Classes="monospace" Text="{DynamicResource Text.WorkingCopy}"/>
|
||||
@@ -146,7 +146,7 @@
|
||||
</Grid>
|
||||
</ListBoxItem>
|
||||
|
||||
<ListBoxItem BorderThickness="1,1,1,1" CornerRadius="0,0,6,6">
|
||||
<ListBoxItem Height="28" BorderThickness="1,1,1,1" CornerRadius="0,0,6,6">
|
||||
<Grid Height="28" ColumnDefinitions="32,*,Auto">
|
||||
<Path Grid.Column="0" Width="12" Height="12" Data="{StaticResource Icons.Stashes}"/>
|
||||
<TextBlock Grid.Column="1" Classes="monospace" Text="{DynamicResource Text.Stashes}"/>
|
||||
|
||||
Reference in New Issue
Block a user