workaround for cut-off text in native scroller?

Klaus major-k klaus at major-k.de
Tue Jun 1 12:40:00 EDT 2021


Hi Jaques,

> Am 01.06.2021 um 18:26 schrieb J. Landman Gay via use-livecode <use-livecode at lists.runrev.com>:
> 
> I usually put one empty line at the end of the field and increase the native scroller content height by twice
> or three times the textheight of the field. The amount of extra space required in the scroller depends on
> the text size and textheight.

five empty lines solve my current problem.

> I think the problem is an incorrect calculation of the formattedHeight of the field or group. BTW, did you group the field?

Sure! :-)
I even added a white button BELOW that field in the group, no dice!?

> It won't scroll smoothly unless you do, and the group should scroll rather than the field.
> The field inside the group should be sized to its full height with its top aligned to the top of the group.

It is.

> Set the group margins to 0

I did.

> and the layermode of the group to "scrolling".

I did NOT! Will try...

Tested, no difference in the end.

> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de





More information about the use-livecode mailing list