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



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

    Update layout when the model changes (bgo#612603)

 src/Hyena.Gui/Hyena.Data.Gui/DataViewLayout.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Hyena.Gui/Hyena.Data.Gui/DataViewLayout.cs b/src/Hyena.Gui/Hyena.Data.Gui/DataViewLayout.cs
index d54935a..6609dfc 100644
--- a/src/Hyena.Gui/Hyena.Data.Gui/DataViewLayout.cs
+++ b/src/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]