Long caption on buttons

1
Hello, guys.   I have some buttons with a little bit longer sentences. Does anybody know is it possible in Mendix to show button caption in 2 rows?    Thank you very much in advance.   Best regards.
asked
5 answers
1

You could try to add this in the styling of a button:

white-space: normal;

 

Have not tested it myself, source: https://stackoverflow.com/a/18996295

answered
0

It's best to keep button captions short. In the tooltip of a button however you can write as big of a story as you'd like. 

answered
0

You could add a container and a button, add some custom classes and some custom css to make the button invisible but overlaying the container that you can make look like the button you want. But it requires some coding and there is no out of the box soultion.

answered
0

depends on what you want.

add the class “btn-block” makes the btn super wide.

otherwise take a look at the clickable container widget. (like syztze de bok suggested)

answered
0

I found adequate solution. Thank you all for the help. :)

answered