Shrink mixer channel strip (#7502)

Remove all content margins and spacing between child widgets for each mixer channel strip.
This commit is contained in:
saker
2024-09-18 04:45:46 -04:00
committed by GitHub
parent 7d35d4225e
commit 4803bbb73a

View File

@@ -33,7 +33,6 @@
#include "ConfigManager.h"
#include "gui_templates.h"
#include "lmms_math.h"
#include <QGraphicsProxyWidget>
#include <QGraphicsScene>
@@ -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
} // namespace lmms::gui