[squeak-dev] TextMorph >> #fit broken?

Marcel Taeumel marcel.taeumel at hpi.de
Mon Sep 30 11:30:04 UTC 2019


> Is this really what we want?

Maybe, maybe not. We cannot know without context information. :-) I suppose it should be "false" by default. In the MenuMorph, however, I would assume that the filter text was not initialized correctly.

Best,
Marcel
Am 30.09.2019 12:42:57 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
Hi all,

can you reproduce the following?



I assume it this bug was revealed (not caused) by Morphic-mt.1520, so by default, each TextMorph now has the wrapFlag true. Is this really what we want?


Minimal example to reproduce:
m := Morph new.
m openInHand.
m extent: 300 @ 200.
m cellPositioning: #center.
m changeTableLayout.
t := TextMorph new
contents: 'Hello world';
yourself.
t autoFit: true.
t container
Works before, does not work after the recent commit.

Should we maybe initialize wrapFlag with false, in order to revert the behavior from before Morphic-mt.1520? I know also other implementations, aside from Trunk, which are failing after the update.

Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190930/b356e76e/attachment-0002.html>


More information about the Squeak-dev mailing list