[4.1][Bug] LimitedHeightTextMorph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[4.1][Bug] LimitedHeightTextMorph

Hannes Hirzel
From the comment of LimitedHeightTextMorph


A TextMorph that will expand and contract vertically to adjust for the
contents, but limited to a specific max height. If contents are
larger, a scrollbar will be used.

LimitedHeightTextMorph new
        maxHeight: 48;
        model: (TextModel new contents: 'This is some text to test the morph.');
        openInWorld


REMARK:
The example code does not work.


--Hannes

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org