summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-05-21 00:03:41 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-05-21 00:03:41 +0200
commite0f20188f86553f1fe109d724f4f472c4e1ccb56 (patch)
tree77787493c3e2bb848788d49c85dc32ef5cbc2109
parentf9372b88e6bfec45ff1d7582425d5bee585849d5 (diff)
Fix out of bounds resize of status frame.
-rw-r--r--plugin/drumgizmo_plugin.h2
-rw-r--r--plugingui/maintab.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h
index 36bf016..2a77f07 100644
--- a/plugin/drumgizmo_plugin.h
+++ b/plugin/drumgizmo_plugin.h
@@ -208,5 +208,5 @@ private:
bool inline_image_first_draw{true};
static constexpr std::size_t width{750};
- static constexpr std::size_t height{400};
+ static constexpr std::size_t height{385};
};
diff --git a/plugingui/maintab.cc b/plugingui/maintab.cc
index aeb34b6..f0743a8 100644
--- a/plugingui/maintab.cc
+++ b/plugingui/maintab.cc
@@ -52,7 +52,7 @@ MainTab::MainTab(Widget* parent,
layout.addItem(&resampling_frame);
auto h1 = 20;
- auto h2 = 22;
+ auto h2 = 20;
auto h3 = 13;
auto h4 = 11;
auto h5 = 14;