Shrink mixer channel strip (#7502)
Remove all content margins and spacing between child widgets for each mixer channel strip.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user