Button Text

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
Paul
Profound User
Posts: 39
Joined: Mon Aug 29, 2011 10:53 pm
First Name: Paul
Last Name: Foster
Company Name: GRI Group Ltd
Country: Hong Kong
Location: Hong Kong
Contact:

Button Text

Post by Paul »

Similar to the text wrap question below, is is possible to wrap button text? We use the enhanced DDS conversions and use the Actions panel for the buttons. This is quite narrow and sometimes the button text is too long. Making the button deeper is no good because the text doesn't wrap. Is it possible to wrap the text?

Thanks,

Paul
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: Button Text

Post by Alex »

You can use HTML's <br> tag (line break) in the value of the button to create a multi-line button. However, this only works with certain types of button.

It will work, if the the "field type" property of the button is "graphic button" or "css button". It will NOT work if the "field type" property of the button is "styled button" or just "button".
Paul
Profound User
Posts: 39
Joined: Mon Aug 29, 2011 10:53 pm
First Name: Paul
Last Name: Foster
Company Name: GRI Group Ltd
Country: Hong Kong
Location: Hong Kong
Contact:

Re: Button Text

Post by Paul »

Thanks Alex, that works. It looks a little strange next to the styled buttons created by the conversion, but with the same colour scheme its acceptable.

Paul
amarschner@masters
New User
Posts: 13
Joined: Wed Jun 15, 2016 12:48 pm
First Name: Al
Last Name: Marschner
Company Name: Masters Gallery Foods, Inc.
Phone: 920-893-9100 x670
Address 1: 411 Cty Hwy PP
City: Plymouth
State / Province: Wisconsin
Zip / Postal Code: 53073
Country: United States
Contact:

Re: Button Text

Post by amarschner@masters »

This works well. However, is there a way to "center" the text (top to bottom) withing the button, itself? The text within the "value" property apparently starts in the middle of the button. I've had to increase the button's "height" to get the text to fit within the button.
This conflicts with our standards.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests