Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. 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