Pixel-pushing: vertically align special busses
The mixer's track area has a border with shadow (again). This breaks vertical alignment with monitor-section, master, foldback busses.
This commit is contained in:
parent
4c228c2eab
commit
2ed8fd2723
@ -491,6 +491,7 @@ FoldbackStrip::init ()
|
||||
scrollbar.ensure_style ();
|
||||
Gtk::Requisition requisition (scrollbar.size_request ());
|
||||
scrollbar_height = requisition.height;
|
||||
scrollbar_height += 3; // track_display_frame border/shadow
|
||||
}
|
||||
_spacer.set_size_request (-1, scrollbar_height);
|
||||
_global_vpacker.pack_end (_spacer, false, false);
|
||||
|
@ -347,6 +347,7 @@ MixerStrip::init ()
|
||||
scrollbar.ensure_style();
|
||||
Gtk::Requisition requisition(scrollbar.size_request ());
|
||||
scrollbar_height = requisition.height;
|
||||
scrollbar_height += 3; // track_display_frame border/shadow
|
||||
}
|
||||
spacer.set_size_request (-1, scrollbar_height);
|
||||
global_vpacker.pack_end (spacer, false, false);
|
||||
|
@ -2844,13 +2844,9 @@ Mixer_UI::setup_track_display ()
|
||||
track_display_scroller.add (track_display);
|
||||
track_display_scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);
|
||||
|
||||
VBox* v = manage (new VBox);
|
||||
v->show ();
|
||||
v->pack_start (track_display_scroller, true, true);
|
||||
|
||||
track_display_frame.set_name("BaseFrame");
|
||||
track_display_frame.set_shadow_type (Gtk::SHADOW_IN);
|
||||
track_display_frame.add (*v);
|
||||
track_display_frame.add (track_display_scroller);
|
||||
|
||||
track_display_scroller.show();
|
||||
track_display_frame.show();
|
||||
|
@ -426,6 +426,7 @@ MonitorSection::MonitorSection ()
|
||||
scrollbar.ensure_style();
|
||||
Gtk::Requisition requisition(scrollbar.size_request ());
|
||||
scrollbar_height = requisition.height;
|
||||
scrollbar_height += 3; // track_display_frame border/shadow
|
||||
}
|
||||
|
||||
// output port select
|
||||
|
Loading…
Reference in New Issue
Block a user