diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-17 12:53:55 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-17 12:54:16 +0200 |
commit | ce92bea49b5842105c667a613d0043fa0eba2b8f (patch) | |
tree | 56b3637db8a25b6c02bc075c92df84823bba614d /plugingui/maintab.cc | |
parent | 7cfbb8bfb1c4689dc78115931bab96d657be88be (diff) |
Resize frames again to make it look better.
Diffstat (limited to 'plugingui/maintab.cc')
-rw-r--r-- | plugingui/maintab.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/plugingui/maintab.cc b/plugingui/maintab.cc index 9b910b8..745557a 100644 --- a/plugingui/maintab.cc +++ b/plugingui/maintab.cc @@ -41,12 +41,14 @@ MainTab::MainTab(Widget* parent) : Widget(parent) layout.addItem(&humanizer_frame); layout.addItem(&diskstreaming_frame); - auto h1 = 60; - auto h2 = 40; + auto h1 = 21; + auto h2 = 18; + auto h3 = 13; + auto h4 = 11; auto drumkit_range = GridLayout::GridRange{0, 1, 0, h1}; - auto status_range = GridLayout::GridRange{0, 1, h1, h1 + 55}; - auto humanizer_range = GridLayout::GridRange{1, 2, 0, h2}; - auto diskstreaming_range = GridLayout::GridRange{1, 2, h2, h2 + 35}; + auto status_range = GridLayout::GridRange{0, 1, h1, h1 + h2}; + auto humanizer_range = GridLayout::GridRange{1, 2, 0, h3}; + auto diskstreaming_range = GridLayout::GridRange{1, 2, h3, h3 + h4}; layout.setPosition(&drumkit_frame, drumkit_range); layout.setPosition(&status_frame, status_range); layout.setPosition(&humanizer_frame, humanizer_range); @@ -66,7 +68,7 @@ MainTab::MainTab(Widget* parent) : Widget(parent) version_label.setAlignment(TextAlignment::right); version_label.setColour(Colour(0.1, 0.1, 0.2)); layout.addItem(&version_label); - layout.setPosition(&version_label, GridLayout::GridRange{1, 2, 31, 32}); + layout.setPosition(&version_label, GridLayout::GridRange{1, 2, 39, 40}); } } // GUI:: |