13
0

Transfer from ardour_ui (transport_table)

This commit is contained in:
Ben Loftis 2024-09-30 14:35:06 -05:00 committed by Robin Gareus
parent b9d173c17a
commit 1557e41f5e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 16 additions and 1 deletions

View File

@ -126,7 +126,21 @@ ApplicationBar::on_parent_changed (Gtk::Widget*)
_transport_ctrl.setup (ARDOUR_UI::instance ());
_transport_ctrl.map_actions ();
pack_start(_transport_ctrl, false, false);
int vpadding = 1;
int hpadding = 2;
int col = 0;
#define TCOL col, col + 1
_table.attach (_transport_ctrl, TCOL, 0, 1 , SHRINK, SHRINK, 0, 0);
// _table.attach (*ssbox, TCOL, 1, 2 , FILL, SHRINK, 0, 0);
++col;
_table.set_spacings (0);
_table.set_row_spacings (4);
_table.set_border_width (1);
pack_start(_table, false, false);
}
void

View File

@ -63,5 +63,6 @@ private:
bool _have_layout;
BasicUI* _basic_ui;
Gtk::Table _table;
TransportControlUI _transport_ctrl;
};