From 4803bbb73ad3e7b9e36c39cabdec3aff6f1dafe4 Mon Sep 17 00:00:00 2001 From: saker Date: Wed, 18 Sep 2024 04:45:46 -0400 Subject: [PATCH] Shrink mixer channel strip (#7502) Remove all content margins and spacing between child widgets for each mixer channel strip. --- src/gui/MixerChannelView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/MixerChannelView.cpp b/src/gui/MixerChannelView.cpp index 2a1fe09289e..aa3ce5f87b5 100644 --- a/src/gui/MixerChannelView.cpp +++ b/src/gui/MixerChannelView.cpp @@ -33,7 +33,6 @@ #include "ConfigManager.h" #include "gui_templates.h" -#include "lmms_math.h" #include #include @@ -129,7 +128,8 @@ namespace lmms::gui m_effectRackView->setFixedWidth(EffectRackView::DEFAULT_WIDTH); auto mainLayout = new QVBoxLayout{this}; - mainLayout->setContentsMargins(4, 4, 4, 4); + mainLayout->setContentsMargins(0, 0, 0, 0); + mainLayout->setSpacing(0); mainLayout->addWidget(m_receiveArrow, 0, Qt::AlignHCenter); mainLayout->addWidget(m_sendButton, 0, Qt::AlignHCenter); mainLayout->addWidget(m_sendKnob, 0, Qt::AlignHCenter); @@ -492,4 +492,4 @@ namespace lmms::gui return Engine::mixer()->mixerChannel(m_channelIndex); } -} // namespace lmms::gui \ No newline at end of file +} // namespace lmms::gui