[MGNLUI-3736] Allow to specify text field width Created: 04/Jan/16  Updated: 08/Mar/21  Resolved: 08/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: dialogs, forms, user interaction
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Jozef Chocholacek Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: fields, ui_design
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File triple_composite_field.png     PNG File triple_composite_field_wide.png    
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)

 Description   

In some situations (content apps), a multiple field of fields composed of 3 (or more) text fields is needed, but the default width of a text field causes the resulting dialog to look strange:

Because in this situation, two of the text fields contain just a short numeric information (price), an elegant solution would be to reduce the width of these fields. But there is no way to specify the width of a field ATM.

Workaround: Set the wide property of the dialog to true - but it can result in looking weird another way:


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