diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-28 14:56:13 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-28 14:56:13 +0000 |
commit | 383597b19bf61139de39dcec63c8a73eb34843ed (patch) | |
tree | a3c660560170f884a921c2223899f1f730cc3877 /gtk2_ardour | |
parent | 9afbb649b6bb39e1f04cad990b46bd6cbf004e96 (diff) |
Shrink the minimum size of the plugin analyser a bit, and make it take up spare space in the dialogue. Fixes #2835.
git-svn-id: svn://localhost/ardour2/branches/3.0@7703 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/generic_pluginui.cc | 4 | ||||
-rw-r--r-- | gtk2_ardour/plugin_eq_gui.cc | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc index 30a12aeb0e..ca9fd27149 100644 --- a/gtk2_ardour/generic_pluginui.cc +++ b/gtk2_ardour/generic_pluginui.cc @@ -78,7 +78,7 @@ GenericPluginUI::GenericPluginUI (boost::shared_ptr<PluginInsert> pi, bool scrol set_border_width (10); //set_homogeneous (false); - pack_start(main_contents); + pack_start (main_contents, false, false); settings_box.set_homogeneous (false); HBox* constraint_hbox = manage (new HBox); @@ -100,7 +100,7 @@ GenericPluginUI::GenericPluginUI (boost::shared_ptr<PluginInsert> pi, bool scrol VBox* v1_box = manage (new VBox); VBox* v2_box = manage (new VBox); - pack_end(plugin_analysis_expander); + pack_end (plugin_analysis_expander, true, true); v1_box->pack_start (*smaller_hbox, false, true); v2_box->pack_start (focus_button, false, true); diff --git a/gtk2_ardour/plugin_eq_gui.cc b/gtk2_ardour/plugin_eq_gui.cc index 572a7dfd51..b3c756777a 100644 --- a/gtk2_ardour/plugin_eq_gui.cc +++ b/gtk2_ardour/plugin_eq_gui.cc @@ -61,14 +61,13 @@ PluginEqGui::PluginEqGui(boost::shared_ptr<ARDOUR::PluginInsert> pluginInsert) _analysis_scale_surface = 0; _analysis_area = new Gtk::DrawingArea(); - _analysis_width = 500.0; - _analysis_height = 500.0; + _analysis_width = 256.0; + _analysis_height = 256.0; _analysis_area->set_size_request(_analysis_width, _analysis_height); _analysis_area->signal_expose_event().connect( sigc::mem_fun (*this, &PluginEqGui::expose_analysis_area)); _analysis_area->signal_size_allocate().connect( sigc::mem_fun (*this, &PluginEqGui::resize_analysis_area)); - // dB selection dBScaleModel = Gtk::ListStore::create(dBColumns); |