[MGNLUI-384] AssetLinkField and TextAndButtonField should handle a variety of button text lengths Created: 10/Dec/12  Updated: 09/Jul/13  Resolved: 09/Jul/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-383 "select asset" button is cut off in d... 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   

These field types have a text field with a button on the right side.
These two field types both use the same css class to set the width on the text field: "small-textfield".
As the width is "hard coded" there can be a problem if the button text width is very wide, in which case it will be cut-off as it leaves the form and not be readable.

Either these types of field should have a variable button and text field widths, or if the button is a fixed width, then there should be a tooltip on button hover to indicate what is in the button. And the text should perhaps be cropped.



 Comments   
Comment by Christopher Zimmermann [ 10/Dec/12 ]

folow up ticket

Comment by Mikaël Geljić [ 04/Mar/13 ]

Fixed by themeing

Comment by Jozef Chocholacek [ 07/Mar/13 ]

Seems to work properly in Alpha3.

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