changed #preferredExtent - use explicitExtent instvar
authorStefan Vogel <sv@exept.de>
Sun, 26 Oct 2008 21:11:45 +0100
changeset 3759 0318021891be
parent 3758 ab385f00c199
child 3760 96d214ff4395
changed #preferredExtent - use explicitExtent instvar
ListSelectionBox.st
--- a/ListSelectionBox.st	Sun Oct 26 21:11:27 2008 +0100
+++ b/ListSelectionBox.st	Sun Oct 26 21:11:45 2008 +0100
@@ -363,8 +363,12 @@
 
     |wWanted hWanted eH mm bw|
 
-    "/ 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
     ].
@@ -435,5 +439,5 @@
 !ListSelectionBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/ListSelectionBox.st,v 1.57 2008-05-30 12:25:56 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/ListSelectionBox.st,v 1.58 2008-10-26 20:11:45 stefan Exp $'
 ! !