mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-10-16 02:32:02 +00:00
feat: add text trimming to styles for better UI presentation (#824)
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
<Setter Property="Foreground" Value="{DynamicResource AppFgColor}"/>
|
||||
<Setter Property="FontSize" Value="13"/>
|
||||
<Setter Property="Margin" Value="0,0,0,2"/>
|
||||
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
|
||||
</Style>
|
||||
|
||||
<!-- Label Border Style for ComboBox labels -->
|
||||
|
||||
@@ -518,6 +518,13 @@
|
||||
<Style x:Key="FeatureCheckboxStyle" TargetType="CheckBox" BasedOn="{StaticResource {x:Type CheckBox}}">
|
||||
<Setter Property="Margin" Value="-4,-2,-4,10"/>
|
||||
<Setter Property="Padding" Value="4,2"/>
|
||||
<Setter Property="ContentTemplate">
|
||||
<Setter.Value>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding}" TextTrimming="CharacterEllipsis"/>
|
||||
</DataTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<!-- Shared CheckBox style for app list items -->
|
||||
|
||||
Reference in New Issue
Block a user