+void
+VCAMasterStrip::update_bottom_padding ()
+{
+ std::string viz = UIConfiguration::instance().get_mixer_strip_visibility ();
+
+ ArdourButton meter_point_button (_("pre"));
+ ArdourButton output_button (_("Output"));
+ ArdourButton comment_button (_("Comments"));
+
+ meter_point_button.set_name ("mixer strip button");
+ output_button.set_name ("mixer strip button");
+ comment_button.set_name ("generic button");
+
+
+ int h = 1;
+ if (1) {
+ Gtk::Window window (WINDOW_TOPLEVEL);
+ window.add (meter_point_button);
+ Gtk::Requisition requisition(meter_point_button.size_request ());
+ h += requisition.height;
+ }
+ if (viz.find ("Output") != std::string::npos) {
+ Gtk::Window window (WINDOW_TOPLEVEL);
+ window.add (output_button);
+ Gtk::Requisition requisition(output_button.size_request ());
+ h += requisition.height + 2;
+ }
+ if (viz.find ("Comments") != std::string::npos) {
+ Gtk::Window window (WINDOW_TOPLEVEL);
+ window.add (comment_button);
+ Gtk::Requisition requisition(comment_button.size_request ());
+ h += requisition.height + 2;
+ }
+ bottom_padding.set_size_request (-1, h);
+}
+