13
0

T: Mixer layout tweaks

* Add group-tab sized spacer above master bus
* disable vertical scrolling (hide, show scrollbar otherwise
  adds a scrollbar
* shrink main content. Do not vertically expand mixer
This commit is contained in:
Robin Gareus 2024-05-06 23:50:33 +02:00
parent 7aa1caa5a9
commit 6aac3733a2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -397,10 +397,21 @@ Mixer_UI::Mixer_UI ()
_content.pack_start (list_hpane, true, true);
} else {
scroller.set_policy (Gtk::POLICY_ALWAYS, Gtk::POLICY_NEVER);
vca_label_bar.set_size_request (-1, 16 + 1); /* must match height in GroupTabs::set_size_request() + 1 border px*/
VBox *mbox = manage (new VBox());
mbox->pack_start (vca_label_bar, false, false);
mbox->pack_start (out_packer, true, true);
HBox *box = manage (new HBox());
box->pack_start (out_packer, false, false);
box->pack_start (*mbox, false, false);
box->pack_start (scroller, true, true);
_content.pack_start(*box);
_content.pack_start(*box, false, false);
mbox->show ();
box->show ();
}
update_title ();