From a1978c28f916fadc90e89a6586777d20e9a60cfd Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Tue, 7 Feb 2017 18:21:51 -0800 Subject: [PATCH] HotkeyInputConfigDiag: set DeviceRelatedSizer to wxEXPAND Somehow it acts as though it has wxEXPAND, but that stops working if the code is edited (as in the next commit). --- Source/Core/DolphinWX/Input/HotkeyInputConfigDiag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Input/HotkeyInputConfigDiag.cpp b/Source/Core/DolphinWX/Input/HotkeyInputConfigDiag.cpp index 50bfe3364f..b931dbadb1 100644 --- a/Source/Core/DolphinWX/Input/HotkeyInputConfigDiag.cpp +++ b/Source/Core/DolphinWX/Input/HotkeyInputConfigDiag.cpp @@ -30,7 +30,7 @@ wxBoxSizer* HotkeyInputConfigDialog::CreateMainSizer() auto* const main_sizer = new wxBoxSizer(wxVERTICAL); main_sizer->AddSpacer(space5); - main_sizer->Add(CreateDeviceRelatedSizer()); + main_sizer->Add(CreateDeviceRelatedSizer(), 0, wxEXPAND | wxLEFT | wxRIGHT); main_sizer->AddSpacer(space5); main_sizer->Add(m_notebook, 1, wxEXPAND | wxLEFT | wxRIGHT, space5); main_sizer->AddSpacer(space5);