ui_button text wrapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-10-07
12:58 PM
- last edited on
‎2024-09-09
11:22 AM
by
Doreena Deng
Hi all,
I was just wondering if it is possible to have text that wraps on a ui_button?
Many thanks
Windows 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-11-08
09:51 AM
- last edited on
‎2021-11-12
08:31 PM
by
Laszlo Nagy
Hi,
the possible code for a ui_button is
UI_BUTTON type, text, x, y [, width, height, id [, url]]
where the text part appears on the button. Just make sure you choose the right width for the button in order to have the text actually wrap on it.
I hope, this is the answer you have been looking for!