[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: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| 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. |
| 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). |
| 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. |