mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-16 07:55:00 +00:00
ux: new style for ref's Visibility in Graph
context menu item
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
cd009bda6b
commit
bf43dd828a
5 changed files with 142 additions and 107 deletions
|
@ -843,6 +843,10 @@
|
|||
<DataTemplate DataType="x:String">
|
||||
<v:NameHighlightedTextBlock Text="{Binding}" VerticalAlignment="Center"/>
|
||||
</DataTemplate>
|
||||
|
||||
<DataTemplate DataType="vm:FilterModeInGraph">
|
||||
<v:FilterModeInGraph/>
|
||||
</DataTemplate>
|
||||
</ContentPresenter.DataTemplates>
|
||||
</ContentPresenter>
|
||||
|
||||
|
@ -949,6 +953,19 @@
|
|||
</Style>
|
||||
</Style>
|
||||
|
||||
<Style Selector="MenuItem.filter_mode_switcher">
|
||||
<Setter Property="Height" Value="48"/>
|
||||
|
||||
<Style Selector="^:selected">
|
||||
<Style Selector="^ /template/ Border#PART_LayoutRoot">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
</Style>
|
||||
<Style Selector="^ /template/ ContentPresenter#PART_HeaderPresenter">
|
||||
<Setter Property="Foreground" Value="Transparent" />
|
||||
</Style>
|
||||
</Style>
|
||||
</Style>
|
||||
|
||||
<Style Selector="ComboBox">
|
||||
<Style.Resources>
|
||||
<Thickness x:Key="ComboBoxDropdownBorderPadding">4,0</Thickness>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue