mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 06:07:29 +01:00
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:
parent
8b1e5eca1d
commit
d2428e8510
2 changed files with 1 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue