iced icon indicating copy to clipboard operation
iced copied to clipboard

Add ability to set width of picklist widget and it's child dropdown/overlay independently

Open atlanticaccent opened this issue 3 years ago • 3 comments

I'm not sure how feasible this is, but I think this would provide slightly nicer styling and allow the insertion of a much wider array of elements in the picklist. Alternatively, add automatic line breaks to elements in the dropdown, if possible, when the overall width of the widget is less than a given element.

An example of my current situation: image image What I'd prefer: image What actually results: image

atlanticaccent avatar Jun 15 '21 00:06 atlanticaccent

This shouldn't be too hard to implement I believe. Changing this line to take the computed max_width (like here) should probably work.

yusdacra avatar Jun 18 '21 23:06 yusdacra

@yusdacra Would you like to make a PR?

hecrj avatar Jul 10 '21 17:07 hecrj

@yusdacra Would you like to make a PR?

I have prepared a PR over at #993

yusdacra avatar Aug 14 '21 20:08 yusdacra