Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1683.mcz==================== Summary ====================
Name: Morphic-mt.1683
Author: mt
Time: 17 September 2020, 3:38:41.086573 pm
UUID: 146f304e-7d94-624b-9d19-d193c3522b86
Ancestors: Morphic-mt.1682
Fixes a bug in the definition of height-for-width and width-for-height layout behavior.
=============== Diff against Morphic-mt.1682 ===============
Item was changed:
----- Method: Morph>>changesHeightForWidth (in category 'layout-menu') -----
changesHeightForWidth
+ "When both axes are on #spaceFill, the receiver (morph) usually adapts any inner height-for-width layout unless there is more space to fill. Since we cannot know in advance, we assume that an extra layout run might be necessary."
+ ^ (self hResizing == #spaceFill and: [self vResizing == #spaceFill])
+ or: [(self hResizing ~= #shrinkWrap
+ and: [self vResizing = #shrinkWrap])
+ and: [self wrapDirection ~= #none]]!
- ^ (self hResizing ~= #shrinkWrap
- and: [self vResizing = #shrinkWrap])
- and: [self wrapDirection ~= #none]!
Item was changed:
----- Method: Morph>>changesWidthForHeight (in category 'layout-menu') -----
changesWidthForHeight
+ "When both axes are on #spaceFill, the receiver (morph) usually adapts any inner height-for-width layout unless there is more space to fill. Since we cannot know in advance, we assume that an extra layout run might be necessary."
+
+ ^ (self hResizing == #spaceFill and: [self vResizing == #spaceFill])
+ or: [(self hResizing = #shrinkWrap
+ and: [self vResizing ~= #shrinkWrap])
+ and: [self wrapDirection ~= #none]]!
-
- ^ (self hResizing = #shrinkWrap
- and: [self vResizing ~= #shrinkWrap])
- and: [self wrapDirection ~= #none]!