[Gambas-user] Label control

gian bagoneo at libero.it
Wed Jun 15 14:52:07 CEST 2022


Il 15/06/22 00:26, Steve via User ha scritto:
> I am attempting to populate a label control. The text on the control 
> will vary. The size of the control does not. Is there a way to detect 
> when the text Will overflow the control so that I can split the text up 
> properly to display? This would be in the case where there is sufficient 
> vertical room but not horizontal. Also the font size will vary.

The TextLabel has Autoresize and Wrap properties that, if i undestand, 
you should need.
Why can't you use them?

Regards
Gianluigi


More information about the User mailing list