[squeak-dev] TextMorph >> #fit broken?
Thiede, Christoph
Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Sep 30 10:42:47 UTC 2019
Hi all,
can you reproduce the following?
[cid:be268ece-e371-4907-8aa2-1da37a95ee37]
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/06a415b9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 21973 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190930/06a415b9/attachment.png>
More information about the Squeak-dev
mailing list
|