class to use for multiple line text that can be changed, but not edited ? -> it's TextEditor with ReadOnly

Online Status

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 ?

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.

Online Status

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.

Online Status

Thank you ! Just have to code all that now.

Online Status

TextEditor in ReadOnly mode does great, but it has always a "button like bevel"... I'd like more a transparent no border thing, label-like... of course no attribs around for this on os3...