Faraday00's Recent Forum Activity

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Faraday00's avatar

Faraday00

Member since 15 Apr, 2014

None one is following Faraday00 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies