summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
diff options
context:
space:
mode:
authorTryTwo <taolas@gmail.com>2023-11-02 22:34:25 -0700
committerTryTwo <taolas@gmail.com>2023-11-04 15:00:07 -0700
commit2a5147a19b6035a622395dda82a58ad2116f557f (patch)
treef12adddb3779d9ea9dd0bb2c48dca30fb81a6bf6 /Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
parent03f8ec09ebf1ede5335edc6c4acc598b04a8facc (diff)
Dark style: add QTableCornerButton. Fix padding for tables.
CodeDiffDialog: Fix QTableWidget UI issues
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp b/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
index d495a868c8..6698a8289e 100644
--- a/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
+++ b/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
@@ -32,9 +32,9 @@
#include "DolphinQt/QtUtils/ModalMessageBox.h"
#include "DolphinQt/Settings.h"
-static const QString RECORD_BUTTON_STYLESHEET =
- QStringLiteral("QPushButton:checked { background-color: rgb(150, 0, 0); border-style: solid; "
- "border-width: 3px; border-color: rgb(150,0,0); color: rgb(255, 255, 255);}");
+static const QString RECORD_BUTTON_STYLESHEET = QStringLiteral(
+ "QPushButton:checked { background-color: rgb(150, 0, 0); border-style: solid;"
+ "padding: 0px; border-width: 3px; border-color: rgb(150,0,0); color: rgb(255, 255, 255);}");
CodeDiffDialog::CodeDiffDialog(CodeWidget* parent) : QDialog(parent), m_code_widget(parent)
{
@@ -61,7 +61,6 @@ void CodeDiffDialog::CreateWidgets()
m_record_btn = new QPushButton(tr("Start Recording"));
m_record_btn->setCheckable(true);
m_record_btn->setStyleSheet(RECORD_BUTTON_STYLESHEET);
-
m_exclude_btn->setEnabled(false);
m_include_btn->setEnabled(false);
@@ -89,6 +88,7 @@ void CodeDiffDialog::CreateWidgets()
m_matching_results_table->setColumnWidth(2, 4);
m_matching_results_table->setColumnWidth(3, 210);
m_matching_results_table->setColumnWidth(4, 65);
+ m_matching_results_table->setCornerButtonEnabled(false);
m_reset_btn = new QPushButton(tr("Reset All"));
m_reset_btn->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
m_help_btn = new QPushButton(tr("Help"));