[MGNLUI-2535] Field labels ellipsis doesn't work; label wraps to the next line and eventually overlaps the next label Created: 19/Dec/13  Updated: 17/Mar/14  Resolved: 05/Mar/14

Status: Closed
Project: Magnolia UI
Component/s: dialogs, forms
Affects Version/s: 5.2
Fix Version/s: 5.2.3

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: quickwin, support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File combined-feed.png    
Issue Links:
Relates
relates to MGNLUI-2750 Support multi-line labels in dialogs ... Closed
relation
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   

Field labels ellipsis doesn't work; label wraps to the next line and eventually overlaps the next label.
As an example, see "combined feed" component (and see screenshot)



 Comments   
Comment by Mikaël Geljić [ 19/Dec/13 ]

The CSS fix itself simply consists in adding white-space: nowrap; to the field label, so that ellipsis work. However, since it might chop off important labels, we should also try to add tooltips when that is the case, via Vaadin label description. We might not want tooltips at all for "shorter" labels though.

Comment by Christoph Meier [ 05/Mar/14 ]

I fixed according to the comment from Mika (see above).
Currently showing "tooltips" (using attribute "title") for all the labels.
A decision whether to show the tooltip or not is hard to take ... depending on the amount of characters is not really reasonable.

Comment by Mikaël Geljić [ 06/Mar/14 ]

Yes, the system tooltip (title attribute) is perfectly fine for maintenance. We will link to a more general follow-up issue to revise layout and visual details in forms, which should cover multiline labels then.

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