changed #preferredExtent - use explicitExtent instvar
authorStefan Vogel <sv@exept.de>
Sun, 26 Oct 2008 21:11:53 +0100
changeset 3760 96d214ff4395
parent 3759 0318021891be
child 3761 274ab438ccb2
changed #preferredExtent - use explicitExtent instvar
MultiColumnPanelView.st
--- a/MultiColumnPanelView.st	Sun Oct 26 21:11:45 2008 +0100
+++ b/MultiColumnPanelView.st	Sun Oct 26 21:11:53 2008 +0100
@@ -609,8 +609,12 @@
 
     |maxHeight maxWidth maxWidthPerCol w m2 subViews col numCols rowsPerCol|
 
-    "/ If I have an explicit preferredExtent ..
+    "/ If I have an explicit preferredExtent..
+    explicitExtent notNil ifTrue:[
+        ^ explicitExtent
+    ].
 
+    "/ If I have a cached preferredExtent value..
     preferredExtent notNil ifTrue:[
         ^ preferredExtent
     ].
@@ -671,5 +675,5 @@
 !MultiColumnPanelView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/MultiColumnPanelView.st,v 1.1 2007-12-17 11:10:53 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/MultiColumnPanelView.st,v 1.2 2008-10-26 20:11:53 stefan Exp $'
 ! !