Expand text boxes in the preferences dialog to fill available space
Originally committed to SVN as r5865.
This commit is contained in:
parent
a6ecf821c9
commit
da09d71239
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ OptionPage::OptionPage(wxTreebook *book, Preferences *parent, wxString name, int
|
|||
template<class T>
|
||||
void OptionPage::Add(wxSizer *sizer, wxString const& label, T *control) {
|
||||
sizer->Add(new wxStaticText(this, -1, label), 1, wxEXPAND | wxALIGN_CENTRE_VERTICAL);
|
||||
sizer->Add(control);
|
||||
sizer->Add(control, wxSizerFlags().Expand());
|
||||
}
|
||||
|
||||
void OptionPage::CellSkip(wxFlexGridSizer *flex) {
|
||||
|
|
Loading…
Reference in a new issue