patch from colinf to fix the width of generic plugin editors

git-svn-id: svn://localhost/ardour2/branches/3.0@11401 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-01-31 20:48:47 +00:00
parent 8b1e5eca1d
commit d2428e8510
2 changed files with 1 additions and 6 deletions

View file

@ -113,7 +113,7 @@ GenericPluginUI::GenericPluginUI (boost::shared_ptr<PluginInsert> pi, bool scrol
main_contents.pack_start (*constraint_hbox, false, false);
if (is_scrollable ) {
scroller.set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);
scroller.set_name ("PluginEditor");
scroller_view.set_name("PluginEditor");
scroller_view.add (hpacker);

View file

@ -156,11 +156,6 @@ PluginUIWindow::PluginUIWindow (
if (scrollable) {
if (h > 600) h = 600;
if (w > 600) w = 600;
if (w < 0) {
w = 450;
}
}
set_default_size (w, h);