1 Reply Latest reply on Jun 22, 2010 2:08 PM by VRPDeveloper

    Problem with text wrapping if text doesnt contain spaces

    Mega4ka

      Actually, the problem is in text wrap in multiline label button.

      The length limit for label is 100 chars and if there is no spaces in text than it wraps due to button width.

      e.g.if text is "longTextWithoutSpacesWWWWWWwwwwwwwwwwwwwwwwwwwend" (100 chars) it looks as expected:

       

      -->longTextWithoutSpacesWWWWWWwwwww<--

      -->wwwwwwwwwend                                          <--

       

      BUT if I input text like "long text WWWwwwwwwwwwwwwwwwwwwwwend" with some short words surrounded by spaces in the beginning than it looks like

       

      -->long text                                                       <--

      -->WWWwwwwwwwwwwwwwwwwwwwwwwwwww<--

       

      without ending!

       

      Also I have the button height limit so the solution with higher button isnt for me...

       

      Does anybody know another solutions??