[squeak-dev] The Inbox: Morphic-kfr.1619.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jan 19 13:33:08 UTC 2020

A new version of Morphic was added to project The Inbox:

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

Name: Morphic-kfr.1619
Author: kfr
Time: 19 January 2020, 2:32:53.143611 pm
UUID: c27f60fe-1f68-5d42-9593-cb364154f557
Ancestors: Morphic-cmm.1618

Change for layout policy of TextMorph embedded int PluggableTextMorph. A long text would over-shoot and not wrap at the right edge of a window. 

This test show the problem.

((Workspace new contents: 'A quite long sentence that must wrap at the end of the window. It should wrap the line and not continue out the side of the window and not be readable.' )
		embeddedInMorphicWindowLabeled: 'A test window') setWindowColor: Color veryLightGray;

=============== Diff against Morphic-cmm.1618 ===============

Item was changed:
  ----- Method: PluggableTextMorph>>initializeTextMorph (in category 'initialization') -----
  	textMorph := self textMorphClass new
  		margins: (3 at 0 corner: 0 at 0);
  		setEditView: self;
+ 		hResizing: #spaceFill;
- 		hResizing: #shrinkWrap;
  		vResizing: #shrinkWrap;
  		setProperty: #indicateKeyboardFocus toValue: #never;

More information about the Squeak-dev mailing list