Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.11
-
None
-
Windows
Description
On WindowsVista style. Works with Fusion and Windows.
See https://codereview.qt-project.org/#/c/222324/ for a fix.
Although not all styles are forced to obey the palette, here it seems like an oversight.
#include <QtWidgets> #include <QDebug> int main (int a, char **b) { QApplication app(a, b); QWidget w; auto lay = new QVBoxLayout(&w); auto le = new QLineEdit(&w); QPalette palette = w.palette(); palette.setColor(QPalette::Active, QPalette::Base, Qt::blue); w.setPalette(palette); lay->addWidget(le); w.resize(600, 600); w.show(); return app.exec(); }
Attachments
Issue Links
- relates to
-
QTBUG-24323 Windows: QStyleSheetStyle autotest fails
- Closed