MenuPanel.st
changeset 1766 e3667c5b8b30
parent 1765 a003f417d6ad
child 1767 e6325bfd4fad
--- a/MenuPanel.st	Tue Apr 25 11:21:55 2000 +0200
+++ b/MenuPanel.st	Wed Apr 26 15:41:20 2000 +0200
@@ -4250,8 +4250,7 @@
         y := s + VerticalButtonInset.
     ] ifFalse:[
         x  := HorizontalInset.
-        y  := menuPanel isPopUpView ifTrue:[VerticalPopUpInset] ifFalse:[VerticalInset].
-        y isNil ifTrue:[y := 2].
+        y  := (menuPanel isPopUpView ifTrue:[VerticalPopUpInset] ifFalse:[VerticalInset]) ? 2.
     ].
     x := x * 2.
     y := y * 2.
@@ -5599,6 +5598,6 @@
 !MenuPanel class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/MenuPanel.st,v 1.220 2000-04-25 09:21:55 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/MenuPanel.st,v 1.221 2000-04-26 13:41:20 cg Exp $'
 ! !
 MenuPanel initialize!