[Pkg] The Trunk: Morphic-mt.1513.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Sep 2 17:45:23 UTC 2019


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)!



More information about the Packages mailing list