Width of arrows for ComboBox dropdown list
I'm working with a program running on a BeagleBone Black using QT4.8.4 and QtCreator 2.7.1. The system has a 5.7" touch screen on it and I'm needing to make all of my widgets larger so that they work on the touch screen.
I've figured out how to increase the size of the arrow to the right in the ComboBox, but I don't know how to increase the size of the arrows in the drop down list when you click on the ComboBox.
Here is the Style Sheet fragment for the Combo Box:
border: 1px solid gray;
This gets me a wide down arrow for the unselected ComboBox. When I touch the element in the ComboBox, the list pops up below the ComboBox with three narrow arrows on the right side, I would like to make those arrows 50 pixels wide also.
Anybody know what the magic incantation is the will allow me to widen the drop down list arrows?
If I'm not mistaken you need to style QScrollBar for your QComboBox.
Hope it helps
You are right, it is the QScrollBar that needs customizing, min-width, & margin.
Now do you know how to get the pop list to be longer? I only get a list with 2 elements in it, about the height that I have the ComboBox set to. I've got 17 elements in the Combo Box and there is much more room on the display for the popup to get longer. The "Style Sheet Example":http://qt-project.org/doc/qt-4.8/stylesheet-examples.html#customizing-qcombobox says that the popup is an QAbstractItemView, but there isn't really anything on what can be customized.
Try playing with setMaxVisibleItems