mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
style<Dashboard>: fixed height for workspace switches
This commit is contained in:
parent
e00271199a
commit
2f8fcbf36f
1 changed files with 7 additions and 4 deletions
|
@ -151,14 +151,14 @@
|
||||||
Style="{StaticResource Style.ListView.Borderless}"
|
Style="{StaticResource Style.ListView.Borderless}"
|
||||||
Background="{StaticResource Brush.GroupContent}"
|
Background="{StaticResource Brush.GroupContent}"
|
||||||
SelectionMode="Single">
|
SelectionMode="Single">
|
||||||
<ListViewItem x:Name="historiesSwitch" Selected="SwitchHistories" IsSelected="True">
|
<ListViewItem x:Name="historiesSwitch" Selected="SwitchHistories" IsSelected="True" Height="28">
|
||||||
<StackPanel Margin="16,0,0,0" Orientation="Horizontal">
|
<StackPanel Margin="16,0,0,0" Orientation="Horizontal">
|
||||||
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Histories}"/>
|
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Histories}"/>
|
||||||
<Label Margin="4,0,0,0" Content="{StaticResource Text.Histories}"/>
|
<Label Margin="4,0,0,0" Content="{StaticResource Text.Histories}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ListViewItem>
|
</ListViewItem>
|
||||||
|
|
||||||
<ListViewItem x:Name="workingCopySwitch" Selected="SwitchWorkingCopy">
|
<ListViewItem x:Name="workingCopySwitch" Selected="SwitchWorkingCopy" Height="28">
|
||||||
<Grid Margin="16,0,0,0">
|
<Grid Margin="16,0,0,0">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto"/>
|
<ColumnDefinition Width="Auto"/>
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
</Grid>
|
</Grid>
|
||||||
</ListViewItem>
|
</ListViewItem>
|
||||||
|
|
||||||
<ListViewItem x:Name="stashesSwitch" Selected="SwitchStashes">
|
<ListViewItem x:Name="stashesSwitch" Selected="SwitchStashes" Height="28">
|
||||||
<Grid Margin="16,0,0,0">
|
<Grid Margin="16,0,0,0">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto"/>
|
<ColumnDefinition Width="Auto"/>
|
||||||
|
@ -244,6 +244,7 @@
|
||||||
IsChecked="{Binding IsFiltered, Mode=OneWay}"
|
IsChecked="{Binding IsFiltered, Mode=OneWay}"
|
||||||
Checked="FilterChanged"
|
Checked="FilterChanged"
|
||||||
Unchecked="FilterChanged"
|
Unchecked="FilterChanged"
|
||||||
|
Margin="0,0,2,0"
|
||||||
Style="{StaticResource Style.ToggleButton.Filter}"
|
Style="{StaticResource Style.ToggleButton.Filter}"
|
||||||
ToolTip="{StaticResource Text.Filter}"/>
|
ToolTip="{StaticResource Text.Filter}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
@ -332,6 +333,7 @@
|
||||||
IsChecked="{Binding IsFiltered, Mode=OneWay}"
|
IsChecked="{Binding IsFiltered, Mode=OneWay}"
|
||||||
Checked="FilterChanged"
|
Checked="FilterChanged"
|
||||||
Unchecked="FilterChanged"
|
Unchecked="FilterChanged"
|
||||||
|
Margin="0,0,2,0"
|
||||||
Style="{StaticResource Style.ToggleButton.Filter}"
|
Style="{StaticResource Style.ToggleButton.Filter}"
|
||||||
ToolTip="{StaticResource Text.Filter}"/>
|
ToolTip="{StaticResource Text.Filter}"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
@ -415,6 +417,7 @@
|
||||||
IsChecked="{Binding IsFiltered, Mode=TwoWay}"
|
IsChecked="{Binding IsFiltered, Mode=TwoWay}"
|
||||||
Checked="FilterChanged"
|
Checked="FilterChanged"
|
||||||
Unchecked="FilterChanged"
|
Unchecked="FilterChanged"
|
||||||
|
Margin="0,0,2,0"
|
||||||
Style="{StaticResource Style.ToggleButton.Filter}"
|
Style="{StaticResource Style.ToggleButton.Filter}"
|
||||||
ToolTip="{StaticResource Text.Filter}"/>
|
ToolTip="{StaticResource Text.Filter}"/>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
|
|
Loading…
Reference in a new issue