summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-07 21:19:30 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2018-06-07 21:19:48 +0200
commit887dde747142ed340c3608e98a36b5e0d88c5d93 (patch)
treef6a3a822b3990f15303f70f1aa58da0fb11e8c08 /plugingui
parent0e6bb12a6c6f4ad06a4c749d798afbe49d6d78bf (diff)
Fix GUI layout of velocity humanizer.
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/humanizerframecontent.cc6
-rw-r--r--plugingui/humanizerframecontent.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/humanizerframecontent.cc b/plugingui/humanizerframecontent.cc
index 96b54a8..dbb6007 100644
--- a/plugingui/humanizerframecontent.cc
+++ b/plugingui/humanizerframecontent.cc
@@ -60,9 +60,9 @@ HumanizerframeContent::HumanizerframeContent(Widget* parent,
stddev.setControl(&stddev_knob);
layout.addItem(&stddev);
- layout.setPosition(&attack, GridLayout::GridRange{1, 2, 0, 1});
- layout.setPosition(&falloff, GridLayout::GridRange{2, 3, 0, 1});
- layout.setPosition(&stddev, GridLayout::GridRange{3, 3, 0, 1});
+ layout.setPosition(&attack, GridLayout::GridRange{0, 1, 0, 1});
+ layout.setPosition(&falloff, GridLayout::GridRange{1, 2, 0, 1});
+ layout.setPosition(&stddev, GridLayout::GridRange{2, 3, 0, 1});
CONNECT(this, settings_notifier.velocity_modifier_weight,
&attack_knob, &Knob::setValue);
diff --git a/plugingui/humanizerframecontent.h b/plugingui/humanizerframecontent.h
index a9e0750..cb7a7f4 100644
--- a/plugingui/humanizerframecontent.h
+++ b/plugingui/humanizerframecontent.h
@@ -101,7 +101,7 @@ private:
void stddevKnobValueChanged(float value);
void stddevSettingsValueChanged(float value);
- GridLayout layout{this, 4, 1};
+ GridLayout layout{this, 3, 1};
LabeledControl attack{this, "Attack"};
LabeledControl falloff{this, "Release"};