Fix some margin discrepancies

This commit is contained in:
aldelaro5 2016-12-31 17:58:39 -05:00
parent 42e4dde960
commit d6674223db
1 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,11 @@ MicButtonConfigDialog::MicButtonConfigDialog(wxWindow* const parent, InputConfig
auto* const device_chooser = CreateDeviceChooserGroupBox();
auto* const device_chooser_szr = new wxBoxSizer(wxHORIZONTAL);
device_chooser_szr->AddSpacer(space5);
device_chooser_szr->Add(device_chooser, 1, wxEXPAND);
device_chooser_szr->AddSpacer(space5);
auto* const group_box_button =
new ControlGroupBox(Pad::GetGroup(port_num, PadGroup::Mic), this, this);
@ -26,7 +31,7 @@ MicButtonConfigDialog::MicButtonConfigDialog(wxWindow* const parent, InputConfig
auto* const szr_main = new wxBoxSizer(wxVERTICAL);
szr_main->AddSpacer(space5);
szr_main->Add(device_chooser, 0, wxEXPAND);
szr_main->Add(device_chooser_szr, 0, wxEXPAND);
szr_main->AddSpacer(space5);
szr_main->Add(controls_sizer, 1, wxEXPAND | wxLEFT | wxRIGHT, space5);
szr_main->AddSpacer(space5);