diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-08-17 15:28:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-17 15:28:03 +0200 |
| commit | 12a5fd80bde3c1f5557ea647ebb127d37e74040d (patch) | |
| tree | ece90476f2ae92d463525f0ab17f2ceaecc4176d /Source/Core/DolphinQt/Debugger/WatchWidget.cpp | |
| parent | b5951490f6f9199605895faa746fbd0b35d88094 (diff) | |
| parent | 8d184ab9bd92a702f85868002baf1874a7288adb (diff) | |
Merge pull request #7299 from spycrab/qt_compact
Qt/Debugger: Make spacing more compact
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/WatchWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/WatchWidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp index 924cc737ca..4ef26f68e7 100644 --- a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp @@ -74,10 +74,12 @@ WatchWidget::~WatchWidget() void WatchWidget::CreateWidgets() { m_toolbar = new QToolBar; + m_toolbar->setContentsMargins(0, 0, 0, 0); m_toolbar->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); m_table = new QTableWidget; + m_table->setContentsMargins(0, 0, 0, 0); m_table->setColumnCount(5); m_table->verticalHeader()->setHidden(true); m_table->setContextMenuPolicy(Qt::CustomContextMenu); @@ -90,6 +92,8 @@ void WatchWidget::CreateWidgets() m_save->setEnabled(false); auto* layout = new QVBoxLayout; + layout->setContentsMargins(2, 2, 2, 2); + layout->setSpacing(0); layout->addWidget(m_toolbar); layout->addWidget(m_table); |
