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
This commit is contained in:
parent
9afbb649b6
commit
383597b19b
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user