- button_table.attach (name_button, 0, 2, 0, 1);
- button_table.attach (input_button, 0, 2, 1, 2);
- button_table.attach (*invert_button, 0, 2, 3, 4);
+ top_button_table.set_homogeneous (true);
+ top_button_table.set_spacings (2);
+ top_button_table.attach (*monitor_input_button, 0, 1, 0, 1);
+ top_button_table.attach (*monitor_disk_button, 1, 2, 0, 1);
+ top_button_table.show ();
+
+ rec_solo_table.set_homogeneous (true);
+ rec_solo_table.set_row_spacings (2);
+ rec_solo_table.set_col_spacings (2);
+ rec_solo_table.attach (*solo_isolated_led, 1, 2, 0, 1);
+ rec_solo_table.attach (*solo_safe_led, 1, 2, 1, 2);
+ rec_solo_table.show ();
+
+ button_table.set_homogeneous (false);
+ button_table.set_spacings (2);
+
+ if (solo_isolated_led) {
+ button_size_group->add_widget (*solo_isolated_led);
+ }
+ if (solo_safe_led) {
+ button_size_group->add_widget (*solo_safe_led);
+ }
+ if (rec_enable_button) {
+ button_size_group->add_widget (*rec_enable_button);
+ }
+ if (monitor_disk_button) {
+ button_size_group->add_widget (*monitor_disk_button);
+ }
+ if (monitor_input_button) {
+ button_size_group->add_widget (*monitor_input_button);
+ }
+
+ button_table.attach (name_button, 0, 1, 0, 1);
+ button_table.attach (input_button_box, 0, 1, 1, 2);
+ button_table.attach (_invert_button_box, 0, 1, 2, 3);