feat: add text trimming to styles for better UI presentation (#824)

This commit is contained in:
Jeffrey
2026-10-14 00:00:43 +02:00
committed by GitHub
parent 5f3c277c35
commit 1a2ffc70f8
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -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 -->
+7
View File
@@ -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 -->