mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Lua Dialog, fill window with single widget
This is particularly helpful with a file-selector (e.g. mixer ccreenshot Script)
This commit is contained in:
parent
18228edd54
commit
6c9b03e2a3
1 changed files with 1 additions and 1 deletions
|
|
@ -799,7 +799,7 @@ Dialog::Dialog (std::string const& title, luabridge::LuaRef lr)
|
|||
table->attach (*hb, col, cend, row, row + 1, Gtk::FILL | Gtk::EXPAND, Gtk::SHRINK);
|
||||
}
|
||||
} else {
|
||||
table->attach (*((*i)->widget ()), col, cend, row, row + 1, Gtk::FILL | Gtk::EXPAND, Gtk::SHRINK);
|
||||
table->attach (*((*i)->widget ()), col, cend, row, row + 1, Gtk::FILL | Gtk::EXPAND, (_widgets.size() == 1) ? (Gtk::FILL | Gtk::EXPAND) : Gtk::SHRINK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue