mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-24 15:01:29 -06:00
[FEAT] change/add some icons
- change settings & close icon to new one using "Segoe Fluent Icons" fontfamily - add icons to search context menu using "Segoe Fluent Icons" fontfamily
This commit is contained in:
parent
ce1ef2a519
commit
affedd3cab
@ -19,7 +19,7 @@
|
||||
"IconFontSize": "14",
|
||||
"IconButtonSize": "35",
|
||||
"SettingsIconFontSize": "18",
|
||||
"CloseIconFontSize": "18",
|
||||
"CloseIconFontSize": "12",
|
||||
"MicroWinLogoSize": "10",
|
||||
"MicrowinCheckBoxMargin": "-10,5,0,0",
|
||||
"GroupBorderBackgroundColor": "#232629",
|
||||
|
@ -617,9 +617,22 @@
|
||||
<ControlTemplate TargetType="ContextMenu">
|
||||
<Border Background="{DynamicResource MainBackgroundColor}" BorderBrush="{DynamicResource BorderColor}" BorderThickness="1" CornerRadius="5" Padding="5">
|
||||
<StackPanel>
|
||||
<MenuItem Command="Cut" Header="Cut"/>
|
||||
<MenuItem Command="Copy" Header="Copy"/>
|
||||
<MenuItem Command="Paste" Header="Paste"/>
|
||||
<MenuItem Command="Cut" Header="Cut">
|
||||
<MenuItem.Icon>
|
||||
<TextBlock Text="" FontSize="14" FontFamily="Segoe Fluent Icons"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Command="Copy" Header="Copy">
|
||||
<MenuItem.Icon>
|
||||
<TextBlock Text="" FontSize="14" FontFamily="Segoe Fluent Icons"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Command="Paste" Header="Paste">
|
||||
<MenuItem.Icon>
|
||||
<TextBlock Text="" FontSize="14" FontFamily="Segoe Fluent Icons"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
@ -874,7 +887,7 @@
|
||||
Width="{DynamicResource IconButtonSize}" Height="{DynamicResource IconButtonSize}"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Top"
|
||||
Margin="5,5,5,0"
|
||||
FontFamily="Segoe MDL2 Assets"
|
||||
FontFamily="Segoe Fluent Icons"
|
||||
Content=""/>
|
||||
<Popup Grid.Column="3" Name="SettingsPopup"
|
||||
IsOpen="False"
|
||||
@ -901,13 +914,13 @@
|
||||
|
||||
<Button
|
||||
Grid.Column="4"
|
||||
Content="×" BorderThickness="0"
|
||||
Content="" BorderThickness="0"
|
||||
BorderBrush="Transparent"
|
||||
Background="{DynamicResource MainBackgroundColor}"
|
||||
Width="{DynamicResource IconButtonSize}" Height="{DynamicResource IconButtonSize}"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Top"
|
||||
Margin="0,5,5,0"
|
||||
FontFamily="{DynamicResource FontFamily}"
|
||||
FontFamily="Segoe Fluent Icons"
|
||||
Foreground="{DynamicResource MainForegroundColor}" FontSize="{DynamicResource CloseIconFontSize}" Name="WPFCloseButton" />
|
||||
</Grid>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user