[MGNLUI-2548] Allow multi-line labels, long names are not rendered nicely Created: 07/Jan/14  Updated: 19/May/14  Resolved: 21/Jan/14

Status: Closed
Project: Magnolia UI
Component/s: applauncher
Affects Version/s: 5.2
Fix Version/s: 5.2.2

Type: Bug Priority: Major
Reporter: Teresa Miyar Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2014-01-07 at 14.18.48.png    
Issue Links:
relation
is related to MGNLUI-2844 Allow to use a new line char in app a... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

see screenshot for details - when using long names, the text just runs off the tile.



 Comments   
Comment by Mikaël Geljić [ 14/Jan/14 ]

Hi Teresa,

I found out that using soft hyphens (\u00AD) is nicely supported and overflows to second line if there is not enough space. Nevertheless if the labels are not hyphenized, we should fallback to randomly positioned word-wrap. (I really mean fallback because for some reason word-wrap takes precedence over default hyphenation, which in this case removes the dash).

Generated at Mon Feb 12 08:57:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.