QTfrontend/ui/widget/keybinder.cpp
changeset 15254 441bdf1e6026
parent 14906 089f0c10ca95
child 15256 9be05ae1b726
--- a/QTfrontend/ui/widget/keybinder.cpp	Thu Jul 18 00:20:50 2019 +0200
+++ b/QTfrontend/ui/widget/keybinder.cpp	Thu Jul 18 00:45:39 2019 +0200
@@ -79,7 +79,7 @@
     scrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
     scrollArea->setWidgetResizable(true);
     scrollArea->setFrameShape(QFrame::NoFrame);
-    scrollArea->setStyleSheet("background: #130F2A;");
+    scrollArea->setObjectName("keyBinderScrollArea");
 
     // Add key binding pages to bindings tab
     pageKeysLayout->addWidget(scrollArea);
@@ -179,7 +179,7 @@
             curTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
             curTable->verticalHeader()->setDefaultSectionSize(rowHeight);
             curTable->setShowGrid(false);
-            curTable->setStyleSheet("QTableWidget { border: none; } ");
+            curTable->setStyleSheet("QTableWidget { border: none; background-color: transparent; } ");
             curTable->setSelectionBehavior(QAbstractItemView::SelectRows);
             curTable->setSelectionMode(QAbstractItemView::SingleSelection);
             curTable->setFocusPolicy(Qt::NoFocus);