Skip to content

Commit

Permalink
lua: Scroll large dialogs automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht committed Mar 4, 2023
1 parent 0376c56 commit 5050bad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/auto4_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 5050bad

Please sign in to comment.