Opened 10 years ago

Closed 9 years ago

#2502 closed defect (fixed)

Show icons when at the end of a line

Reported by: Adrián Chaves Owned by: Itms
Priority: Should Have Milestone: Alpha 19
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by Adrián Chaves)

Our GUI engine does not show icons if they are at the end of a line.

For example, if you switch the order of resource icons to "cost icon" (currently it is "icon cost"), the last icon in tooltips of "Insufficient resources" will not be displayed.

This prevents translations that actually need to place icons after the cost amount to do so. Or worse, they will do so, not test the translation, and users will find out that the icon is missing.

Attachments (1)

no_last_icon.png (1.3 MB ) - added by Adrián Chaves 10 years ago.

Download all attachments as: .zip

Change History (5)

by Adrián Chaves, 10 years ago

Attachment: no_last_icon.png added

comment:1 by Adrián Chaves, 10 years ago

Description: modified (diff)

comment:2 by leper, 10 years ago

Milestone: Alpha 17Alpha 18

comment:3 by mimo, 9 years ago

Milestone: Alpha 18Alpha 19

comment:4 by Itms, 9 years ago

Owner: set to Itms
Resolution: fixed
Status: newclosed

In 16844:

Don't postpone rendering of icons when they are at the end of a GUI string.

Fixes #2502

Note: See TracTickets for help on using tickets.