mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-06 20:51:15 +12:00
font is not windows orig (but with TextOptions.TextRenderingMode="ClearType" TextOptions.TextFormattingMode="Display" it comes a lot closer to the original)
This commit is contained in:
parent
5707c2f051
commit
00b4a4459b
1 changed files with 2 additions and 1 deletions
|
@ -190,7 +190,8 @@
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<Image Width="{DynamicResource ColumnIconWidth}" Margin="0" Source="{Binding ColumnIcon}" />
|
<Image Width="{DynamicResource ColumnIconWidth}" Margin="0" Source="{Binding ColumnIcon}" />
|
||||||
<TextBlock MaxWidth="{DynamicResource ColumnTextMaxWidth}" Margin="5,0,2,0" Padding="0" VerticalAlignment="Center" TextTrimming="CharacterEllipsis"
|
<TextBlock MaxWidth="{DynamicResource ColumnTextMaxWidth}" Margin="5,0,2,0" Padding="0" VerticalAlignment="Center" TextTrimming="CharacterEllipsis"
|
||||||
Text="{Binding ColumnText}" Foreground="{x:Static stm:MenuDefines.ColorForeground}" />
|
Text="{Binding ColumnText}" Foreground="{x:Static stm:MenuDefines.ColorForeground}"
|
||||||
|
TextOptions.TextRenderingMode="ClearType" TextOptions.TextFormattingMode="Display"/>
|
||||||
<!-- TODO: Optional or only for trimmed entries: ToolTip="{Binding ColumnText}" -->
|
<!-- TODO: Optional or only for trimmed entries: ToolTip="{Binding ColumnText}" -->
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
Loading…
Reference in a new issue