Ticket #1386 (closed defect: duplicate)

Opened 13 months ago

Last modified 5 months ago

Bug in GUI text wordwrap logic

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

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

comment:1 Changed 5 months ago by Philip

Sounds like duplicate of #723.

comment:2 Changed 5 months ago by kingadami

  • Status changed from new to closed
  • Resolution set to duplicate

Resolution of #723 will fix this issue also.

Last edited 5 months ago by kingadami (previous) (diff)

comment:3 Changed 5 months ago by leper

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