Skip to content

Commit 7a9c8d7

Browse files
committed
ux: enable TextTrimming for author name in FileHistories
Signed-off-by: leo <[email protected]>
1 parent 8021cd8 commit 7a9c8d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/FileHistories.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<Grid RowDefinitions="Auto,*">
8181
<Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto,Auto">
8282
<v:Avatar Grid.Column="0" Width="16" Height="16" VerticalAlignment="Center" IsHitTestVisible="False" User="{Binding Author}"/>
83-
<TextBlock Grid.Column="1" Classes="primary" Text="{Binding Author.Name}" Margin="8,0,0,0" ClipToBounds="True"/>
83+
<TextBlock Grid.Column="1" Classes="primary" Text="{Binding Author.Name}" Margin="8,0,0,0" TextTrimming="CharacterEllipsis"/>
8484
<TextBlock Grid.Column="2"
8585
Classes="primary"
8686
Text="{Binding SHA, Converter={x:Static c:StringConverters.ToShortSHA}}"

0 commit comments

Comments
 (0)