From b33a5345816f4a81282845a29eb3ea2c2bb91e3b Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 29 May 2026 15:05:12 +0900 Subject: [PATCH] Linux/macOS: fix remaining wxWidgets sizer flags Remove the remaining generated-form alignment flag that wxWidgets ignores in box sizers: the language page system-default button bottom alignment combined with wxEXPAND. Preserve the Legal Notices OK button centering and keep Forms.cpp and TrueCrypt.fbp in sync. Keep the existing global sizer consistency check suppressions in place pending additional testing. Follow-up to issue #49. --- src/Main/Forms/Forms.cpp | 2 +- src/Main/Forms/TrueCrypt.fbp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/Forms/Forms.cpp b/src/Main/Forms/Forms.cpp index 15fcd704..c64dbbfb 100644 --- a/src/Main/Forms/Forms.cpp +++ b/src/Main/Forms/Forms.cpp @@ -2300,7 +2300,7 @@ PreferencesDialogBase::PreferencesDialogBase( wxWindow* parent, wxWindowID id, c sbSizer49->Add( LanguageListBox, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 ); SysDefaultLangButton = new wxButton( sbSizer49->GetStaticBox(), wxID_ANY, _("LINUX_SELECT_SYS_DEFAULT_LANG"), wxDefaultPosition, wxDefaultSize, 0 ); - sbSizer49->Add( SysDefaultLangButton, 0, wxALIGN_BOTTOM|wxALL|wxEXPAND, 5 ); + sbSizer49->Add( SysDefaultLangButton, 0, wxALL|wxEXPAND, 5 ); bSizer173->Add( sbSizer49, 1, wxALL|wxEXPAND, 5 ); diff --git a/src/Main/Forms/TrueCrypt.fbp b/src/Main/Forms/TrueCrypt.fbp index 0540f863..a100bf1f 100644 --- a/src/Main/Forms/TrueCrypt.fbp +++ b/src/Main/Forms/TrueCrypt.fbp @@ -15309,7 +15309,7 @@ 5 - wxALIGN_BOTTOM|wxALL|wxEXPAND + wxALL|wxEXPAND 0 1