Fix GamePad window size (#1224)

This commit is contained in:
Colin Kinloch 2024-05-28 23:36:12 +01:00 committed by GitHub
parent f576269ed0
commit d33337d539
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,7 +72,7 @@ void PadViewFrame::InitializeRenderCanvas()
m_render_canvas = GLCanvas_Create(this, wxSize(854, 480), false);
sizer->Add(m_render_canvas, 1, wxEXPAND, 0, nullptr);
}
SetSizer(sizer);
SetSizerAndFit(sizer);
Layout();
m_render_canvas->Bind(wxEVT_KEY_UP, &PadViewFrame::OnKeyUp, this);