|Anonymous | Login||01-18-2022 11:06 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0005117||[Squeak] Morphic||minor||always||09-26-06 21:14||09-30-06 15:32|
|Reporter||Simon Guest||View Status||public|
|Summary||0005117: TextMorph autofit not fitting bounds to contents on edit|
I have a TextMorph with autofit on (and wrap to bounds off). When I
change the contents, by sending a contents: message, it recomputes the
bounds correctly, changing size to fit the text.
However, when I edit the text by clicking on the morph and typing, it
does not recompute the bounds until triggered by some later
unconnected event, such as a duplicate.
I think there's something missing in the update processing for editing
a TextMorph, but I can't quite see where it is.
This is Squeak 3.9 gamma 7055.
|Attached Files||TextMorph.sjg.1.cs [^] (646 bytes) 09-30-06 15:31|
(0007525 - 205 - 253 - 253 - 253 - 253 - 253)
I think I found the problem: in TextMorph>>keyboardFocusChange: it should be calling releaseParagraph, rather than releaseEditor.
Proposed fix attached in uploaded change set.
|09-26-06 21:14||Simon Guest||New Issue|
|09-30-06 15:31||Simon Guest||File Added: TextMorph.sjg.1.cs|
|09-30-06 15:32||Simon Guest||Note Added: 0007525|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
33 total queries executed.|
26 unique queries executed.