Hello everyone,
I was wondering if there is a way to reduce the rectangle size (e.g. for info popups) according to the number of letters on the popup.
Thank you in advance,
Matteo
Reducing rectangle size according to typings
- Hopki
- Gnome
- Posts: 13028
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Matteo,
Under the text box properties set Auto Size.
Then you may want to add padding, also found under the text box properties.
Regards,
Under the text box properties set Auto Size.
Then you may want to add padding, also found under the text box properties.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
-
- Posts: 11
- Joined: Mon Aug 17, 2020 11:14 am
My goal is to make the background rectangle smaller if say the typings are not a lot, but I don't want the rectangle to get bigger than the container if it overcomes its size. So far I tried to use autosize getting rid of the background rectangle but the outcome is not what I was hoping for.
I don't have anything in mind to get a logic under the rectangle that goes "if $(hd) is TEXTBOX SIZE MEASURES then change RECTANGLE SIZE". Any hint?
I don't have anything in mind to get a logic under the rectangle that goes "if $(hd) is TEXTBOX SIZE MEASURES then change RECTANGLE SIZE". Any hint?
- Hopki
- Gnome
- Posts: 13028
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
HI,
I can not say I fully understand, but let me try.
You want a text box to get larger if more text is added, but when it gets to a certain size it has to stop resizing and then use say a scroll bar?
A single text box can not do this, but you may be able to swop out text boxes depending tag, or any other trigger, as an example Hotspot title = xxx use text box size with a scroll bar.
Regards,
I can not say I fully understand, but let me try.
You want a text box to get larger if more text is added, but when it gets to a certain size it has to stop resizing and then use say a scroll bar?
A single text box can not do this, but you may be able to swop out text boxes depending tag, or any other trigger, as an example Hotspot title = xxx use text box size with a scroll bar.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
-
- Posts: 11
- Joined: Mon Aug 17, 2020 11:14 am
You are right! I didn't think about that solution and it's what I was looking for. An easy but super effective solution. Thank you!!