L: fix the size of the toolbars to the visible ruler height
This commit is contained in:
parent
a22de38566
commit
6ba1d6314f
@ -675,8 +675,9 @@ Editor::Editor ()
|
||||
tsizer->attach(*spcr, 5,6, 1,2, SHRINK, SHRINK); //approx offset
|
||||
|
||||
VBox *tbar_packer = manage(new VBox());
|
||||
tbar_packer->pack_end(*tsizer, true, true);
|
||||
tbar_packer->pack_end(*marker_hbox, true, true, 4);
|
||||
tbar_packer->pack_end(*tsizer, FILL|EXPAND, FILL|EXPAND);
|
||||
tbar_packer->pack_end(*marker_hbox, true, true);
|
||||
tbar_packer->pack_end(*manage (new Label()), true, true);
|
||||
time_bars_event_box.add (*tbar_packer);
|
||||
#else
|
||||
time_bars_event_box.add (time_bars_vbox);
|
||||
|
@ -704,8 +704,8 @@ Editor::update_ruler_visibility ()
|
||||
ruler_separator->set_y_position (ruler_separator_y);
|
||||
time_bars_vbox.set_size_request (-1, ruler_separator_y);
|
||||
#ifdef LIVETRAX
|
||||
time_bars_hbox.set_size_request (-1, ruler_separator_y);
|
||||
time_bars_hbox.set_border_width (4);
|
||||
time_bars_event_box.set_size_request (-1, ruler_separator_y);
|
||||
time_bars_event_box.set_border_width (4);
|
||||
#endif
|
||||
|
||||
/* move hv_scroll_group (trackviews) to the end of the timebars */
|
||||
|
Loading…
Reference in New Issue
Block a user