Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
5.12.5
-
Desktop
Description
When QComboBox is set inside a QTableView and a stylesheet is set for the application the items in the QComboBox drop-down overlaps with cell text.
Attached example shows it, but to reproduce one needs to have 2 external monitor connected.
There are are few other condition required which is already in example.
. The QComboBox must be added after the QTableView is already visible
. Qt::AA_UseStyleSheetPropagationInWidgetStyles must be set
. On the QComboBox, Qt::WA_WindowPropagation must be set
. qApp->styleSheet() must contain at least one character
With attached example , click "Add QComboBox to table", then click on the ComboBox in the top left table cell