From e0f20188f86553f1fe109d724f4f472c4e1ccb56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sun, 21 May 2017 00:03:41 +0200 Subject: Fix out of bounds resize of status frame. --- plugin/drumgizmo_plugin.h | 2 +- plugingui/maintab.cc | 2 +- 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; -- cgit v1.2.3