[banshee/better-now-playing] [Banshee.Gui.Widgets] Wrap instead of Elipsize titled list title.



commit 6a872da6629db86aba64af3199563c82791c84b9
Author: Alex Launi <alex launi gmail com>
Date:   Wed Jun 16 23:47:05 2010 -0400

    [Banshee.Gui.Widgets] Wrap instead of Elipsize titled list title.
    
    The titled list title on some of the last.fm pages would elipsize,
    hiding the artist name. Wrapping solves this while still being
    visually pleasing.

 .../Banshee.Gui.Widgets/TitledList.cs              |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TitledList.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TitledList.cs
index afc9e92..c85affb 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TitledList.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TitledList.cs
@@ -52,7 +52,9 @@ namespace Banshee.Gui.Widgets
         {
             title = new Label ();
             title.Xalign = 0;
-            title.Ellipsize = Pango.EllipsizeMode.End;
+            title.Wrap = true;
+            title.Layout.Wrap = Pango.WrapMode.Word;
+            title.Ellipsize = Pango.EllipsizeMode.None;
             Title = title_str;
 
             PackStart (title, false, false, 0);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]