How do I wrap text in buttons [solved]

Get help using Construct 2

Post » Thu May 08, 2014 7:48 am

Hi,

Could someone help me with wrapping the text in a button, please?

The user can input a word or a sentence. That text is placed in a button. The button is large enough for several words and two or three lines.

I decided to use buttons, instead of text-objects, because of the CSS capabilities. However, using the CSS-commands 'display: wrap' or 'display: flex' and 'flex-wrap: wrap', doesn't seem to do the trick (even browsers that allow 'flex-wrap').

So if anyone could help me out, I would appreciate it.

Thanks!

***************************************

It seems I was using the wrong CSS-code. Using 'white-space:normal' does the trick.
B
3
Posts: 1
Reputation: 182

Return to How do I....?

Who is online

Users browsing this forum: plinkie, zenox98 and 15 guests