diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-11-05 12:53:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-05 12:53:45 +0100 |
| commit | 9d08c8a45dfdbd80530356870c5a57d03cceab9e (patch) | |
| tree | 5c373cd51479767f44ce8c56de6667bb9939cccd /Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp | |
| parent | b7b8f468321dd102809b32cf55a69499c3225cf6 (diff) | |
| parent | 2a5147a19b6035a622395dda82a58ad2116f557f (diff) | |
Merge pull request #12271 from TryTwo/Qt_Display_Fixes
UI, CodeDiffDialog: Fix table widget display issues, including dark style.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp | 8 |
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"));
|
