Shrink the minimum size of the plugin analyser a bit, and make it take up spare space...
authorCarl Hetherington <carl@carlh.net>
Sat, 28 Aug 2010 14:56:13 +0000 (14:56 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 28 Aug 2010 14:56:13 +0000 (14:56 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7703 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/generic_pluginui.cc
gtk2_ardour/plugin_eq_gui.cc

index 30a12aeb0e64923114f5db0034151f0dde92c052..ca9fd2714929318b96399297aec0ffb43612d1f5 100644 (file)
@@ -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);
index 572a7dfd514e3fc26311f8b5d17f6dc49227d528..b3c756777afc734a2c3d312f0a41ee78eba62591 100644 (file)
@@ -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);