mirror of https://github.com/PCSX2/pcsx2.git
GS: Fix config default label alignment
This commit is contained in:
parent
4da09bd841
commit
0ddef1169d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue