Browse files

Ellipsize long album / song names

  • Loading branch information...
1 parent 284e811 commit 6cbd229e8ef9bedb309b30fdc0861d3e56e884ee @paulcbetts paulcbetts committed Apr 20, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Play/Views/SongTileView.xaml
View
4 Play/Views/SongTileView.xaml
@@ -22,11 +22,13 @@
<Style TargetType="{x:Type TextBlock}">
<Style.Setters>
<Setter Property="FontFamily" Value="/Play;component/Fonts/#Open Sans Light" />
+ <Setter Property="TextWrapping" Value="NoWrap" />
+ <Setter Property="TextTrimming" Value="CharacterEllipsis" />
</Style.Setters>
</Style>
</StackPanel.Resources>
- <TextBlock FontWeight="Bold" Text="{Binding Model.name}" FontFamily="/Play;component/Fonts/#Open Sans Semibold" FontSize="17"/>
+ <TextBlock FontWeight="Bold" Text="{Binding Model.name}" FontFamily="/Play;component/Fonts/#Open Sans Semibold" FontSize="17" />
<TextBlock Text="{Binding Model.artist}" FontSize="13" />
<TextBlock Text="{Binding Model.album}" FontSize="13" Foreground="{DynamicResource ButtonNormalForeground}"/>

0 comments on commit 6cbd229

Please sign in to comment.