Skip to content

Commit 5050bad

Browse files
committed
lua: Scroll large dialogs automatically
1 parent 0376c56 commit 5050bad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/auto4_base.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ namespace Automation4 {
216216
wxWindow *ww = config_dialog->CreateWindow(&w); // generate actual dialog contents
217217
s->Add(ww, 0, wxALL, 5); // add contents to dialog
218218
w.SetSizerAndFit(s);
219+
w.SetLayoutAdaptationMode(wxDIALOG_ADAPTATION_MODE_ENABLED);
219220
w.CenterOnParent();
220221
w.ShowModal();
221222
});

0 commit comments

Comments
 (0)