always pack the log-LED into the status widget.
not only does this provide consistent look & feel, but now the status-bar can never be empty. Before to this change, a small useless black rectangle remained when all elements were hidden.
This commit is contained in:
parent
c3d76155a9
commit
5c0e3d4f04
|
@ -96,12 +96,10 @@ ARDOUR_UI::setup_windows ()
|
|||
status_bar_event_box->add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK);
|
||||
status_bar_label.set_size_request (300, -1);
|
||||
status_bar_packer->pack_start (*status_bar_event_box, true, true, 6);
|
||||
status_bar_packer->pack_start (error_alert_button, false, false);
|
||||
|
||||
status_bar_label.show ();
|
||||
status_bar_event_box->show ();
|
||||
status_bar_packer->show ();
|
||||
error_alert_button.show ();
|
||||
|
||||
status_bar_event_box->signal_button_press_event().connect (mem_fun (*this, &ARDOUR_UI::status_bar_button_press));
|
||||
|
||||
|
|
|
@ -515,9 +515,7 @@ ARDOUR_UI::build_menu_bar ()
|
|||
disk_space = true;
|
||||
}
|
||||
|
||||
#ifndef TOP_MENUBAR
|
||||
hbox->pack_end (error_alert_button, false, false, 2);
|
||||
#endif
|
||||
|
||||
hbox->pack_end (wall_clock_label, false, false, 2);
|
||||
hbox->pack_end (disk_space_label, false, false, 4);
|
||||
|
|
Loading…
Reference in New Issue
Block a user