问题
I'm dynamically populating the options to a GTK3 ComboBox that has an Entry. Some the options can be quite long, and I'd like to be able to make the ComboBox wider if there are wide items in my model. Is there a way to do this?
(It would be especially nice if the combobox could be expanded automatically but with an upper limit that could be set.)
来源:https://stackoverflow.com/questions/11975230/gtk-combobox-width-based-on-contents