Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#1386 closed defect (duplicate)

Bug in GUI text wordwrap logic

Reported by: historic_bruno Owned by:
Priority: Nice to Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

The GUI engine has a bug in the wordwrap logic when a text box is not left-aligned. As you can see in the following example with center-aligned text:

http://i.imgur.com/x8PvQ.jpg

Produced by this simple code:

messageBox(500, 300,
            "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 abcdefghijklmnopqrstuvwxyz0123456789",
            "Test", 2);

This is most noticeable when arbitrary length strings (such as file paths) are displayed in the UI, so we can't necessarily compensate by making the text elements wider.

Change History (3)

comment:1 by Philip Taylor, 11 years ago

Sounds like duplicate of #723.

comment:2 by kingadami, 11 years ago

Resolution: duplicate
Status: newclosed

Resolution of #723 will fix this issue also.

Last edited 11 years ago by kingadami (previous) (diff)

comment:3 by leper, 11 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.