[Pkg] The Trunk: Morphic-mt.1242.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Aug 8 06:42:41 UTC 2016
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1242.mcz
==================== Summary ====================
Name: Morphic-mt.1242
Author: mt
Time: 8 August 2016, 8:42:03.151784 am
UUID: 53b43eb4-0074-234f-aec8-67c9405877cd
Ancestors: Morphic-cmm.1241
Fixes an initialization bug in the three-phase button, that is, our check box or radio button.
=============== Diff against Morphic-cmm.1241 ===============
Item was changed:
----- Method: ThreePhaseButtonMorph>>preferredExtent (in category 'accessing') -----
preferredExtent
| iw ih lw lh |
+ self currentImage ifNil: [^ 1 at 1].
iw := self currentImage width.
ih := self currentImage height.
lw := self font widthOfString: (self label ifNil: ['']).
lh := self font height.
^ (iw + 3 + lw) @ (ih max: lh)!
More information about the Packages
mailing list