Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
a40591931dd372829982055d4000c5caf3df9d07 a9735e783761cc2f98001cb72e6aa37315b1af70
Description
QQuickPopup is a QObject, not a QQuickControl, so it doesn't inherit fonts correctly. We need to make QQuickPopup::popupItem() inherit its font from QQuickPopup::parentItem().
A test case with ComboBox:
import QtQuick 2.3 import Qt.labs.controls 1.0 ApplicationWindow { id: window width: 400 height: 600 visible: true font.family: "Courier" Pane { anchors.centerIn: parent anchors.verticalCenterOffset: -height font.pixelSize: 30 Column { spacing: 20 Button { text: "Button" } ComboBox { model: ["ComboBox", "With", "Plenty", "Of", "Items"] } } } }
Attachments
Issue Links
- resulted in
-
QTBUG-51696 Font propagation broke theme style
- Closed