feat: reduce icon visual.

This commit is contained in:
rabbitism
2024-02-23 19:15:21 +08:00
parent cf52bcf2d4
commit ef8686aa69
2 changed files with 5 additions and 3 deletions

View File

@@ -70,7 +70,7 @@
Grid.Row="2"
Grid.Column="2"
RowDefinitions="Auto, *">
<u:ToolBar>
<u:ToolBar Margin="16">
<ToggleButton Name="bold">
<PathIcon
Width="16"

View File

@@ -37,6 +37,7 @@
<ControlTemplate TargetType="u:ToolBar">
<Border
Padding="2"
Margin="0"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
VerticalAlignment="{TemplateBinding VerticalAlignment}"
CornerRadius="4"
@@ -62,7 +63,8 @@
Theme="{DynamicResource ToolBarExpandToggleButton}">
<PathIcon
Name="PART_Icon"
Height="16"
Height="12"
Foreground="{DynamicResource SemiColorText2}"
Data="{DynamicResource ToolBarHorizontalMoreGlyph}" />
</ToggleButton>
<Popup
@@ -102,7 +104,7 @@
</Style>
<Style Selector="^ /template/ PathIcon#PART_Icon">
<Setter Property="Data" Value="{DynamicResource ToolBarVerticalMoreGlyph}" />
<Setter Property="Width" Value="16" />
<Setter Property="Width" Value="12" />
<Setter Property="Height" Value="{x:Static x:Double.NaN}" />
</Style>
</Style>