From 9925fc7f032b6331f88e70b60cb151518cfd03f7 Mon Sep 17 00:00:00 2001 From: William JCM Date: Thu, 11 Mar 2021 14:18:43 +0100 Subject: [PATCH] MainFrame: fix layout. --- GUI/MainFrame.cpp | 4 ++-- GUI/MainFrame.fbp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GUI/MainFrame.cpp b/GUI/MainFrame.cpp index b0c0145..a8ca7f4 100644 --- a/GUI/MainFrame.cpp +++ b/GUI/MainFrame.cpp @@ -92,7 +92,7 @@ MainFrame::MainFrame( wxWindow* parent, wxWindowID id, const wxString& title, co _storyProgress->Wrap( -1 ); _storyProgress->SetToolTip( wxT("What this value does or corresponds to is unknown at this point in time. It is only listed here for the sake of completion.") ); - fgSizerGeneralStats->Add( _storyProgress, 0, wxALL, 5 ); + fgSizerGeneralStats->Add( _storyProgress, 0, wxALL|wxEXPAND, 5 ); _lastMissionIdLabel = new wxStaticText( sbSizerGeneralInfo->GetStaticBox(), wxID_ANY, wxT("Last mission ID:"), wxDefaultPosition, wxDefaultSize, 0 ); _lastMissionIdLabel->Wrap( -1 ); @@ -104,7 +104,7 @@ MainFrame::MainFrame( wxWindow* parent, wxWindowID id, const wxString& title, co _lastMissionId->Wrap( -1 ); _lastMissionId->SetToolTip( wxT("This corresponds to the last mission menu selection, not the last mission played.\nIf you see just a number instead of the mission name, please report it to the creator of this application.") ); - fgSizerGeneralStats->Add( _lastMissionId, 0, wxALL, 5 ); + fgSizerGeneralStats->Add( _lastMissionId, 0, wxALL|wxEXPAND, 5 ); sbSizerGeneralInfo->Add( fgSizerGeneralStats, 1, wxEXPAND, 5 ); diff --git a/GUI/MainFrame.fbp b/GUI/MainFrame.fbp index 93db0bb..e57c8f3 100644 --- a/GUI/MainFrame.fbp +++ b/GUI/MainFrame.fbp @@ -858,7 +858,7 @@ 5 - wxALL + wxALL|wxEXPAND 0 1 @@ -980,7 +980,7 @@ 5 - wxALL + wxALL|wxEXPAND 0 1