[banshee] [grid] Update layout when the model changes (bgo#612603)



commit 0359d7c17b67766a8fe40f633de191c0f7e9e1b4
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Fri Mar 12 21:28:57 2010 +1100

    [grid] Update layout when the model changes (bgo#612603)

 .../Hyena.Gui/Hyena.Data.Gui/DataViewLayout.cs     |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/DataViewLayout.cs b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/DataViewLayout.cs
index d54935a..6609dfc 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/DataViewLayout.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/DataViewLayout.cs
@@ -68,6 +68,7 @@ namespace Hyena.Data.Gui
         public void ModelUpdated ()
         {
             InvalidateVirtualSize ();
+            InvalidateChildLayout ();
         }
 
         public virtual void Allocate (Rect actualAllocation)



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