class to use for multiple line text that can be changed, but not edited ? -> it's TextEditor with ReadOnly
Post date
Thu, 10/30/2025 - 08:26
Hello, after 8 months of porting MAME106 I'm back at coding boospies and testing things...
So I should first look on some examples, but I think it's a good idea to post questions here:
- What class to use for multiple line text that can be changed, but not edited ?
... and also resized, so the text would adapt .
- can class buttons have multiple lines ? using "\n" in text just draw a rectangle. Special props ?
Post date
Saturday, November 1, 2025 - 06:40
Multi-line buttons are possible by using a label.image as the GA_Image.
But in your case a read-only texteditor.gadget would probably be the most suitable one to use.
Post date
Saturday, November 1, 2025 - 15:56
Thank you ! Just have to code all that now.
Online Status
@krabob, it seems that TextEditor is the gadget you're looking for. Regarding multiple lines in a button, it isn't possible AFAIK but a confirmation from The OS 3.2 team would be great.