Skip to content

Commit

Permalink
Shrink mixer channel strip (#7502)
Browse files Browse the repository at this point in the history
Remove all content margins and spacing between child widgets for each mixer channel strip.
  • Loading branch information
sakertooth committed Sep 18, 2024
1 parent 7d35d42 commit 4803bbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/MixerChannelView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "ConfigManager.h"

#include "gui_templates.h"
#include "lmms_math.h"

#include <QGraphicsProxyWidget>
#include <QGraphicsScene>
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -492,4 +492,4 @@ namespace lmms::gui
return Engine::mixer()->mixerChannel(m_channelIndex);
}

} // namespace lmms::gui
} // namespace lmms::gui

0 comments on commit 4803bbb

Please sign in to comment.