Hi,
I have a similar problem, but with a non editable combobox. The list of items is correclty centered, but since there is no lineEdit in a non editable combo box, I can't recenter the currently selected item. Any idea ? Thx !
Hi,
I have a similar problem, but with a non editable combobox. The list of items is correclty centered, but since there is no lineEdit in a non editable combo box, I can't recenter the currently selected item. Any idea ? Thx !
Ok, just found the solution. Like jpn posted above, you _must_ have your combobox configured with setEditable(true), but you then you have to disable user input by setting the lineEdit to read-only. Thx jpn !
Mesozoic (16th August 2012)
Bookmarks