ComboView.st
changeset 3573 29daa27bd290
parent 3556 e7d87b5b3cf7
child 3596 cc15fa1bdb45
--- a/ComboView.st	Sun Oct 26 21:11:37 2008 +0100
+++ b/ComboView.st	Sun Oct 26 21:12:17 2008 +0100
@@ -808,8 +808,12 @@
 
     |fieldPref buttonPref m menuPrefX menuPrefY w h|
 
-    "/ 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
     ].
@@ -854,5 +858,5 @@
 !ComboView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/ComboView.st,v 1.96 2008-10-15 18:04:36 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/ComboView.st,v 1.97 2008-10-26 20:12:17 stefan Exp $'
 ! !