mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
ux: style for branch/tag filter toggle button
This commit is contained in:
parent
4120331eda
commit
c6b26517c0
1 changed files with 10 additions and 8 deletions
|
@ -1046,13 +1046,15 @@
|
||||||
<Setter Property="VerticalAlignment" Value="Stretch"/>
|
<Setter Property="VerticalAlignment" Value="Stretch"/>
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Path x:Name="PART_IndicatorIcon"
|
<Border Background="Transparent">
|
||||||
Width="12"
|
<Path x:Name="PART_IndicatorIcon"
|
||||||
Data="{StaticResource Icons.Filter}"
|
Width="12"
|
||||||
Fill="Transparent"
|
Data="{StaticResource Icons.Filter}"
|
||||||
StrokeThickness="1"
|
Fill="Transparent"
|
||||||
Stroke="{DynamicResource Brush.FG2}"
|
StrokeThickness="1"
|
||||||
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
Stroke="{DynamicResource Brush.FG2}"
|
||||||
|
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||||
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
@ -1063,7 +1065,7 @@
|
||||||
<Setter Property="Fill" Value="{DynamicResource Brush.FG2}"/>
|
<Setter Property="Fill" Value="{DynamicResource Brush.FG2}"/>
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="ToggleButton.filter:pointerover /template/ Path#PART_IndicatorIcon">
|
<Style Selector="ToggleButton.filter:pointerover /template/ Path#PART_IndicatorIcon">
|
||||||
<Setter Property="Stroke" Value="{DynamicResource Brush.AccentHovered}"/>
|
<Setter Property="Stroke" Value="{DynamicResource Brush.Accent}"/>
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="ToggleButton.tree_expander">
|
<Style Selector="ToggleButton.tree_expander">
|
||||||
<Setter Property="Margin" Value="0" />
|
<Setter Property="Margin" Value="0" />
|
||||||
|
|
Loading…
Reference in a new issue