Qt: make dockwidget title bars optional

This commit is contained in:
Megamouse 2019-01-08 22:32:23 +01:00
parent 0236b994e4
commit 1b2e512179
6 changed files with 68 additions and 11 deletions

View file

@ -1,4 +1,4 @@
#include "rpcs3_app.h"
#include "rpcs3_app.h"
#include "rpcs3qt/qt_utils.h"
@ -385,7 +385,7 @@ void rpcs3_app::OnChangeStyleSheetRequest(const QString& path)
// dock widget
"QDockWidget{ background: transparent; color: black; }"
"[floating = \"true\"]{ background: white; }"
"[floating=\"true\"]{ background: white; }"
"QDockWidget::title{ background: #e3e3e3; border: none; padding-top: 0.2em; padding-left: 0.2em; }"
"QDockWidget::close-button, QDockWidget::float-button{ background-color: #e3e3e3; }"