Problem/Motivation
dropbutton cuts off long action item, either in the button or at the edge of the window.
Actual text in 8.x core: "no translatable fields"
simulated long text in another area:
Also, other languages might translate words to longer text that the English. (would be good to show an example)
Proposed resolution
TBD.
Remaining tasks
- propose solutions, maybe make the width of the button the longest item?
- pick on solution to implement the patch for
User interface changes
No new pattern, just fixing dropbuttons with long text in them.
API changes
No API changes expected.
Originally...
Related
#1849750-12: Minimize all "Operations" columns width
#1188388-184: Entity translation UI in core 2.
#1890266: dropbutton text fails to retain .dropbutton-widget width
Comment | File | Size | Author |
---|---|---|---|
long-2013-02-11_0649.png | 58.97 KB | YesCT | |
long-2013-02-11_2340.png | 68.24 KB | YesCT |
Comments
Comment #1
YesCT CreditAttribution: YesCT commentedtagging d8mi since one of the entity translation strings is involved, but it's also a general issue that would effect other areas/strings.
Comment #2
sunClosely related: #1899236: Add new Splitbutton render element to eventually replace Dropbutton
Comment #3
YesCT CreditAttribution: YesCT commentedsteps to reproduce (the no translatable fields case):
steps to reproduce (a general case, faked):
I'm not sure if this second case really is a test case. in this second case, the dropbutton grows, but exceeds the column and then runs into the width of the window. in the first case above, the words inside the dropbutton are cut off at the width of it.
Comment #4
YesCT CreditAttribution: YesCT commentedcross post
Comment #5
edrupal CreditAttribution: edrupal commentedThis seems similar to #1890266: dropbutton text fails to retain .dropbutton-widget width.
I tested the latest patch in that issue and it seemed to resolve the problem here as well. The patch hasn't been reviewed yet so can't say if it's a valid approach.
Comment #6
YesCT CreditAttribution: YesCT commentedComment #7
oresh CreditAttribution: oresh commented@edrupal is right, #1890266: dropbutton text fails to retain .dropbutton-widget width. covers this bug, it was created before this and has more work/discussion.
Marked as duplicated.
Comment #7.0
oresh CreditAttribution: oresh commentedUpdate too related issues section