Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Wordwrap GUI.Label doesn't work ?

Discussion in 'Immediate Mode GUI (IMGUI)' started by KevS, Sep 20, 2011.

  1. KevS

    KevS

    Joined:
    Apr 21, 2010
    Posts:
    51
    Hi,

    I'm confused.
    According to Wikipedia xD :"Word wrap is the additional feature of most text editors, word processors, and web browsers, of breaking lines between and not within words, except when a single word is longer than a line."

    But when I word wrap a text with a GUI.Label (using a GUIStyle), my text is not word wrapped, but reduce to fit to the width of my label.

    What is the problem ? ... I'm going crazy ...
     
  2. jedy

    jedy

    Joined:
    Aug 1, 2010
    Posts:
    579