The Trunk: Morphic-mt.1513.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.1513.mcz

commits-2
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1513.mcz

==================== Summary ====================

Name: Morphic-mt.1513
Author: mt
Time: 2 September 2019, 7:45:12.260683 pm
UUID: 61cca4ac-ac7c-3847-87f2-ae615fd1183d
Ancestors: Morphic-mt.1512

Fixes a regression with non-clipping window titles.

Also see TextMorph >> #minWidth. Not sure whether StringMorphs should "shrink wrap" horizontally if they are #rigid. Since they do not wrap vertically, it makes sense.

=============== Diff against Morphic-mt.1512 ===============

Item was changed:
  ----- Method: StringMorph>>minWidth (in category 'layout') -----
  minWidth
  "Layout specific."
 
+ ^ self hResizing = #spaceFill
+ ifTrue: [0] ifFalse: [super minWidth max: (self fontToUse widthOfString: self contents)]!
- ^ super minWidth max: (self fontToUse widthOfString: self contents)!