changed: #sizeChanged:
authorClaus Gittinger <cg@exept.de>
Fri, 04 May 2012 14:35:05 +0200
changeset 4123 a80521cc987c
parent 4122 50b3429eb6b4
child 4124 bac298acc241
changed: #sizeChanged: only fitColumns if the width changed.
DSVColumnView.st
--- a/DSVColumnView.st	Sat Apr 21 19:15:57 2012 +0200
+++ b/DSVColumnView.st	Fri May 04 14:35:05 2012 +0200
@@ -2936,14 +2936,16 @@
 "/            lyt rightOffset:(layout rightOffset).
 "/            labelView layout:lyt.
 "/        ].
-        self fitColumns.
+        previousExtent x ~= width ifTrue: [
+            self fitColumns.
+        ].
         selectionWasVisible ifTrue:[
             self makeSelectionVisible.
         ].
         self updateEditViewOrigin.
     ].
 
-    "Modified: / 18-07-2011 / 09:32:22 / cg"
+    "Modified: / 04-05-2012 / 14:34:24 / cg"
 ! !
 
 !DSVColumnView methodsFor:'focus handling'!
@@ -4720,9 +4722,9 @@
 !DSVColumnView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.278 2012-04-05 15:57:05 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.279 2012-05-04 12:35:05 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.278 2012-04-05 15:57:05 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.279 2012-05-04 12:35:05 cg Exp $'
 ! !