lua: Scroll large dialogs automatically
This commit is contained in:
parent
0376c56a95
commit
5050bad8ac
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ namespace Automation4 {
|
|||
wxWindow *ww = config_dialog->CreateWindow(&w); // generate actual dialog contents
|
||||
s->Add(ww, 0, wxALL, 5); // add contents to dialog
|
||||
w.SetSizerAndFit(s);
|
||||
w.SetLayoutAdaptationMode(wxDIALOG_ADAPTATION_MODE_ENABLED);
|
||||
w.CenterOnParent();
|
||||
w.ShowModal();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue