[banshee/better-now-playing] [Banshee.Widgets] Make size request -1, -1 in TileView.



commit 2699f285bdf2bdf942d6356bf4bbbf265dc6534b
Author: Alex Launi <alex launi gmail com>
Date:   Wed Jun 16 23:42:03 2010 -0400

    [Banshee.Widgets] Make size request -1, -1 in TileView.
    
    TileView was expanding outside of the window in the now playing
    contents because of a huge size request. Setting to to 'as big as
    I can' fixes it.

 .../Banshee.Widgets/Banshee.Widgets/TileView.cs    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs b/src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs
index 6c922db..65a3bc7 100644
--- a/src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs
+++ b/src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs
@@ -111,7 +111,7 @@ namespace Banshee.Widgets
             }
 
             base.OnSizeAllocated(allocation);
-            SetSizeRequest (child.Allocation.Width, child.Allocation.Height);
+            SetSizeRequest (-1, -1);
             SetSize ((uint)child.Allocation.Width, (uint)child.Allocation.Height);
         }
 



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