InputConfigDiag: Give the input text field a monospace font
This commit is contained in:
parent
03a835ec07
commit
62281fbfde
|
@ -489,7 +489,10 @@ wxStaticBoxSizer* ControlDialog::CreateControlChooser(GamepadPage* const parent)
|
||||||
{
|
{
|
||||||
wxStaticBoxSizer* const main_szr = new wxStaticBoxSizer(wxVERTICAL, this, control_reference->is_input ? _("Input") : _("Output"));
|
wxStaticBoxSizer* const main_szr = new wxStaticBoxSizer(wxVERTICAL, this, control_reference->is_input ? _("Input") : _("Output"));
|
||||||
|
|
||||||
textctrl = new wxTextCtrl(this, -1, wxEmptyString, wxDefaultPosition, wxSize(-1, 48), wxTE_MULTILINE);
|
textctrl = new wxTextCtrl(this, -1, wxEmptyString, wxDefaultPosition, wxSize(-1, 48), wxTE_MULTILINE | wxTE_RICH2);
|
||||||
|
wxFont font = textctrl->GetFont();
|
||||||
|
font.SetFamily(wxFONTFAMILY_MODERN);
|
||||||
|
textctrl->SetFont(font);
|
||||||
|
|
||||||
wxButton* const detect_button = new wxButton(this, -1, control_reference->is_input ? _("Detect") : _("Test"));
|
wxButton* const detect_button = new wxButton(this, -1, control_reference->is_input ? _("Detect") : _("Test"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue