[FIX]MenuItems with icons cramped vertically

Karl Ramberg karl.ramberg at chello.se
Fri Apr 30 17:42:22 UTC 2004


This small fix put a two pixel space between the menu icons.

Karl
-------------- next part --------------
'From Squeak3.7beta of ''1 April 2004'' [latest update: #5905] on 30 April 2004 at 7:37 pm'!

!MenuItemMorph methodsFor: 'layout' stamp: 'kfr 4/30/2004 19:36'!
minHeight
	| iconHeight |
	iconHeight := self hasIcon
				ifTrue: [self icon height + 2]
				ifFalse: [0].
	^ self fontToUse height max: iconHeight! !



More information about the Squeak-dev mailing list