Scale config dialog contents when scaling the window.
authorCarl Hetherington <cth@carlh.net>
Tue, 11 Mar 2014 23:44:28 +0000 (23:44 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 11 Mar 2014 23:44:28 +0000 (23:44 +0000)
src/wx/config_dialog.cc

index 2e6f0557f0ca22bdb92fb524c4b74e0e82d29be1..a3beb762804f063d1ddbaa27a5772e10fc853a0e 100644 (file)
@@ -53,7 +53,7 @@ ConfigDialog::ConfigDialog (wxWindow* parent)
 {
        wxBoxSizer* s = new wxBoxSizer (wxVERTICAL);
        _notebook = new wxNotebook (this, wxID_ANY);
-       s->Add (_notebook, 1);
+       s->Add (_notebook, 1, wxEXPAND);
 
        make_misc_panel ();
        _notebook->AddPage (_misc_panel, _("Miscellaneous"), true);