From 39f4f21e477d88a0ed39df93095fbf90a971d43d Mon Sep 17 00:00:00 2001 From: Umcaruje Date: Sun, 27 Mar 2016 20:35:03 +0200 Subject: [PATCH] Get rid of mixer and effects chain padding --- src/gui/FxMixerView.cpp | 3 +++ src/gui/widgets/EffectRackView.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/FxMixerView.cpp b/src/gui/FxMixerView.cpp index eb20cafa1..70eba5ba4 100644 --- a/src/gui/FxMixerView.cpp +++ b/src/gui/FxMixerView.cpp @@ -69,6 +69,9 @@ FxMixerView::FxMixerView() : // main-layout QHBoxLayout * ml = new QHBoxLayout; + // Set margins + ml->setContentsMargins( 0, 4, 0, 0 ); + // Channel area m_channelAreaWidget = new QWidget; chLayout = new QHBoxLayout( m_channelAreaWidget ); diff --git a/src/gui/widgets/EffectRackView.cpp b/src/gui/widgets/EffectRackView.cpp index b136b16f7..12202cf87 100644 --- a/src/gui/widgets/EffectRackView.cpp +++ b/src/gui/widgets/EffectRackView.cpp @@ -40,7 +40,7 @@ EffectRackView::EffectRackView( EffectChain* model, QWidget* parent ) : ModelView( NULL, this ) { QVBoxLayout* mainLayout = new QVBoxLayout( this ); - mainLayout->setMargin( 5 ); + mainLayout->setMargin( 0 ); m_effectsGroupBox = new GroupBox( tr( "EFFECTS CHAIN" ) ); mainLayout->addWidget( m_effectsGroupBox );