mirror of https://github.com/odrling/Aegisub
Preferences, Colors page: make the box sizers expand
This way the Colors page behaves more or less like the other pages. Originally committed to SVN as r6795.
This commit is contained in:
parent
8887f96098
commit
c868928817
|
@ -222,7 +222,7 @@ Interface_Colours::Interface_Colours(wxTreebook *book, Preferences *parent): Opt
|
||||||
wxSizer *main_sizer = new wxBoxSizer(wxHORIZONTAL);
|
wxSizer *main_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
|
|
||||||
sizer = new wxBoxSizer(wxVERTICAL);
|
sizer = new wxBoxSizer(wxVERTICAL);
|
||||||
main_sizer->Add(sizer);
|
main_sizer->Add(sizer, wxEXPAND);
|
||||||
|
|
||||||
wxFlexGridSizer *audio = PageSizer(_("Audio Display"));
|
wxFlexGridSizer *audio = PageSizer(_("Audio Display"));
|
||||||
OptionAdd(audio, _("Play cursor"), "Colour/Audio Display/Play Cursor");
|
OptionAdd(audio, _("Play cursor"), "Colour/Audio Display/Play Cursor");
|
||||||
|
@ -245,7 +245,7 @@ Interface_Colours::Interface_Colours(wxTreebook *book, Preferences *parent): Opt
|
||||||
|
|
||||||
sizer = new wxBoxSizer(wxVERTICAL);
|
sizer = new wxBoxSizer(wxVERTICAL);
|
||||||
main_sizer->AddSpacer(5);
|
main_sizer->AddSpacer(5);
|
||||||
main_sizer->Add(sizer);
|
main_sizer->Add(sizer, wxEXPAND);
|
||||||
|
|
||||||
wxFlexGridSizer *color_schemes = PageSizer(_("Audio Color Schemes"));
|
wxFlexGridSizer *color_schemes = PageSizer(_("Audio Color Schemes"));
|
||||||
wxArrayString schemes = vec_to_arrstr(OPT_GET("Audio/Colour Schemes")->GetListString());
|
wxArrayString schemes = vec_to_arrstr(OPT_GET("Audio/Colour Schemes")->GetListString());
|
||||||
|
|
Loading…
Reference in New Issue