Skip to content

Commit

Permalink
Ellipsize long album / song names
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Apr 20, 2012
1 parent 284e811 commit 6cbd229
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Play/Views/SongTileView.xaml
Expand Up @@ -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}"/>

Expand Down

0 comments on commit 6cbd229

Please sign in to comment.