summaryrefslogtreecommitdiff
path: root/gtk2_ardour/au_pluginui.mm
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-10-30 23:45:20 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-10-30 23:45:20 +0000
commit040d7fec2c23216be7533b727cde4407fb2f8036 (patch)
tree1e96338f73e9e526b928b30f6dfdda4bdb95bde6 /gtk2_ardour/au_pluginui.mm
parent2fab8c2737c3d384cba668a81e7d439730da8232 (diff)
remove cruft from ArdourUI; improve keyboard icon(s); shrink other plugin GUI buttons; close all dialogs when quitting so that we actually quit
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4036 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/au_pluginui.mm')
-rw-r--r--gtk2_ardour/au_pluginui.mm25
1 files changed, 18 insertions, 7 deletions
diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm
index 0fc1d55dcc..a46021f66f 100644
--- a/gtk2_ardour/au_pluginui.mm
+++ b/gtk2_ardour/au_pluginui.mm
@@ -65,16 +65,27 @@ AUPluginUI::AUPluginUI (boost::shared_ptr<PluginInsert> insert)
/* stuff some stuff into the top of the window */
+ HBox* smaller_hbox = manage (new HBox);
+
+ smaller_hbox->pack_start (preset_label, false, false, 10);
+ smaller_hbox->pack_start (preset_combo, false, false);
+ smaller_hbox->pack_start (save_button, false, false);
+ smaller_hbox->pack_start (automation_mode_label, false, false);
+ smaller_hbox->pack_start (automation_mode_selector, false, false);
+ smaller_hbox->pack_start (bypass_button, false, true);
+
+ VBox* v1_box = manage (new VBox);
+ VBox* v2_box = manage (new VBox);
+
+ v1_box->pack_start (*smaller_hbox, false, true);
+ v2_box->pack_start (focus_button, false, true);
+
+ top_box.set_homogeneous (false);
top_box.set_spacing (6);
top_box.set_border_width (6);
- top_box.pack_end (focus_button, false, true);
- top_box.pack_end (bypass_button, false, true);
- top_box.pack_end (automation_mode_selector, false, false);
- top_box.pack_end (automation_mode_label, false, false);
- top_box.pack_end (save_button, false, false);
- top_box.pack_end (preset_combo, false, false);
- top_box.pack_end (preset_label, false, false);
+ top_box.pack_end (*v2_box, false, false);
+ top_box.pack_end (*v1_box, false, false);
set_spacing (6);
pack_start (top_box, false, false);