ux: use TextTrimming="CharacterEllipsis" for diff view title

This commit is contained in:
leo 2024-06-04 20:34:18 +08:00
parent 802b429cc8
commit d1eb9e15ef

View file

@ -30,7 +30,7 @@
</Border> </Border>
<!-- Title --> <!-- Title -->
<TextBlock Grid.Column="2" Classes="monospace" Margin="4,0,0,0" Text="{Binding Title}" FontSize="11"/> <TextBlock Grid.Column="2" Classes="monospace" Margin="4,0,0,0" Text="{Binding Title}" FontSize="11" TextTrimming="CharacterEllipsis"/>
<!-- Toolbar Buttons --> <!-- Toolbar Buttons -->
<StackPanel Grid.Column="3" Margin="8,0,0,0" Orientation="Horizontal" VerticalAlignment="Center"> <StackPanel Grid.Column="3" Margin="8,0,0,0" Orientation="Horizontal" VerticalAlignment="Center">