The Trunk: Morphic-mt.1242.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-mt.1242.mcz

commits-2
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@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)!