Menu

#786 hyphenation with Label objects not appropriate

3.0.1
closed-fixed
nobody
5
2008-01-17
2008-01-01
lenio
No

Label objects support the "hyphen" attribute, but the way words are hyphenated is not correct. The problem is recreatable by opening a Messagebox (which hyphenates by default) with enough single syllable words to require more than one line of text to be displayed, e.g., Messagebox.show("click click click click click click click click click click click click")

So the word "click" should never hyphenate since it is a single syllable. The problem can also occur with multi-syllable words too in that it hyphenates at an inappropriate point.

(Note there is a fairly trivial workaround for Messagebox by creating a new template and simply calling Messagebox.setTemplate.)

Discussion

  • Jumper Chen

    Jumper Chen - 2008-01-17

    Logged In: YES
    user_id=1684431
    Originator: NO

    Fixed since 1/17.

    we use "word-break: break-all;" instead of awful hyphen.

    /Jumper

     
  • Jumper Chen

    Jumper Chen - 2008-01-17
    • status: open --> closed-fixed
     

Log in to post a comment.