mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
Qt: Force widget list palette to dark until highlights work well in light theme
This commit is contained in:
parent
191b7793fc
commit
6b119490f9
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "panda_qt/config_window.hpp"
|
||||
|
||||
#include <QHBoxLayout>
|
||||
#include <QPalette>
|
||||
#include <QSizePolicy>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
|
@ -21,6 +22,7 @@ ConfigWindow::ConfigWindow(ConfigCallback callback, const EmulatorConfig& emuCon
|
|||
widgetList->setMinimumWidth(100);
|
||||
widgetList->setMaximumWidth(100);
|
||||
widgetList->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
|
||||
widgetList->setPalette(QPalette(QColor(25, 25, 25)));
|
||||
|
||||
widgetList->setCurrentRow(0);
|
||||
widgetContainer->setCurrentIndex(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue