changed #preferredExtent - use explicitExtent instvar
authorStefan Vogel <sv@exept.de>
Sun, 26 Oct 2008 21:08:54 +0100
changeset 3566 44235ce5af57
parent 3565 8147249b4aa6
child 3567 447a502274d4
changed #preferredExtent - use explicitExtent instvar
DSVColumnView.st
--- a/DSVColumnView.st	Fri Oct 24 16:14:42 2008 +0200
+++ b/DSVColumnView.st	Sun Oct 26 21:08:54 2008 +0100
@@ -3455,6 +3455,12 @@
     
     |numRows prefWidth prefHeight|
 
+    "/ If I have an explicit preferredExtent..
+    explicitExtent notNil ifTrue:[
+        ^ explicitExtent
+    ].
+
+    "/ If I have a cached preferredExtent value..
     preferredExtent notNil ifTrue:[
         ^ preferredExtent
     ].
@@ -4552,5 +4558,5 @@
 !DSVColumnView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.243 2008-09-19 08:32:11 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.244 2008-10-26 20:08:54 stefan Exp $'
 ! !