Page 1 of 1

Wrapping Text on Buttons

Posted: Thu Jul 11, 2019 8:00 am
by mstarkey
Is there a way to wrap text on button widgets? Looking to see if I can have a button that has two rows of text rather than elongating it with just one row.

Re: Wrapping Text on Buttons

Posted: Fri Jul 12, 2019 1:40 am
by Scott Klement
Yes, its possible. How you do it will depend on the exact type of button you're using (we support lots of types of buttons) as well as the CSS that you have set up.

Would it be possible for you to provide an example of a button, set up the way you like it (aside from the text wrapping), that I can look at all of the specifics? An easy way to do that is to run an application with a button, and then press Ctrl-F9. It'll ask you to download a file called json.txt, which you can post here. I'll be able to run your display on my machine using that json file.

Alternately, you can e-mail our support team at support@profoundlogic.com

Re: Wrapping Text on Buttons

Posted: Fri Jul 12, 2019 11:06 am
by mstarkey
Hey Scott, someone else in my company suggested the idea of typing <BR> between the words in the value property of the button and it worked perfectly. Thank you for reaching out.