mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
In the case where there is no pane-divider, add space at top
This commit is contained in:
parent
15079176ac
commit
31a75af243
1 changed files with 6 additions and 1 deletions
|
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ytkmm/action.h>
|
#include <ytkmm/action.h>
|
||||||
|
#include <ytkmm/alignment.h>
|
||||||
#include <ytkmm/frame.h>
|
#include <ytkmm/frame.h>
|
||||||
#include <ytkmm/notebook.h>
|
#include <ytkmm/notebook.h>
|
||||||
#include <ytkmm/window.h>
|
#include <ytkmm/window.h>
|
||||||
|
|
@ -149,7 +150,11 @@ Tabbable::default_layout ()
|
||||||
content_bottom_pane.add (content_att_bottom);
|
content_bottom_pane.add (content_att_bottom);
|
||||||
} else {
|
} else {
|
||||||
content_inner_hbox.pack_start (content_main_vbox, true, true);
|
content_inner_hbox.pack_start (content_main_vbox, true, true);
|
||||||
content_main_vbox.pack_start (content_att_bottom, false, false);
|
|
||||||
|
Gtk::Alignment* btm_align = manage (new Gtk::Alignment());
|
||||||
|
btm_align->set_padding (5, 0, 0, 0); // 5px at top
|
||||||
|
btm_align->add (content_att_bottom);
|
||||||
|
content_main_vbox.pack_start (*btm_align, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
content_inner_hbox.pack_start (content_bus_vbox, false, false);
|
content_inner_hbox.pack_start (content_bus_vbox, false, false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue