Provide a fixed-width feature in Gtk.Dropdown
With Gtk.combotext getting deprecated, switching over to Gtk.dropdown, however I am missing the fixed-width feature available in combotext. Switching from a text with less character to more character, changes the width and changing the width of the adjacent child, creating more linewraps and increasing height of the container. Please introduce fixed-width property for Gtk.DropDown as well
-
Gtk.Dropdown
: Width keeps changing creating affecting behavior of adjacent child and parent. As you can see text gets line-wrapped due to change in width, which causes all adw.row to increase or decrease heights and move other rows as well
Screencast from 2024-02-02 17-20-59.webm
-
Gtk.ComboText
: No matter what is selected, the width automaically set to the largest character text item and is always fixed.
Screencast from 2024-02-02 17-04-30.webm
Another note would be to align the popupmenu exactly under the text and not right or left of the selected text similar to combo text.
Edited by Andre Klapper