GS: Fix config default label alignment

This commit is contained in:
TellowKrinkle 2021-11-30 00:20:06 -06:00 committed by tellowkrinkle
parent 4da09bd841
commit 0ddef1169d
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ namespace
theApp.SetConfig(str, s[idx].value);
}
void add_label(wxWindow* parent, wxSizer* sizer, const char* str, int tooltip = -1, wxSizerFlags flags = wxSizerFlags().Centre().Right(), long style = wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL)
void add_label(wxWindow* parent, wxSizer* sizer, const char* str, int tooltip = -1, wxSizerFlags flags = wxSizerFlags().Centre().Right(), long style = wxALIGN_RIGHT | wxALIGN_CENTRE_VERTICAL)
{
auto* temp_text = new wxStaticText(parent, wxID_ANY, str, wxDefaultPosition, wxDefaultSize, style);
add_tooltip(temp_text, tooltip);