So, let's create a GUI and a test button (call it buttonFoo)
placing this in game_start or rep_ex:
ButtonFoo.Text = String.Format("This is a test [] dfascsadc");
I'd expect to see a new line somewhere, instead I get those silly square brackets.
Is this proper behaviour? Any workaround?
[[
Quote from: └» Arj0n «┘ on Mon 01/08/2011 14:27:51
[[
Doesn't work Arj0n, i get a
"stuff [[ things" button.
I guess AGS doesn't support line breaks in button texts.
Shit, I forgot. Sorry...
As a workaround you could put a non-clickable label on top of the button with the appropriate text. Unless you're moving or resizing the controls a lot, it shouldn't be a big issue (not as friendly as if the buttons allowed line-breaks, but just not hard to get around ;)).
Quote from: +monkE3y_05_06+ on Mon 01/08/2011 15:30:37
As a workaround you could put a non-clickable label on top of the button with the appropriate text. Unless you're moving or resizing the controls a lot, it shouldn't be a big issue (not as friendly as if the buttons allowed line-breaks, but just not hard to get around ;)).
I don't think you've fully appreciated the fact that
Spoiler
we italians are lazy slobs
I'll use a label, but that's seems pretty awkard to me, if not a bug. Thankee!