From b61a1bfb1c54f61aa4f5623d61273c1036f10211 Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Sat, 8 Oct 2022 23:17:27 +0800 Subject: [PATCH] Fix a layout assertion --- ChangeLog | 1 + src/styledialog.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a41b815..44f92e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ # Version number followed by the release date 1.3.1.0 + * Fix a layout assertion * Keep running when spell checking fails + Support libenchant-2 * Fix a DDE error on Windows (Bug #236) diff --git a/src/styledialog.cpp b/src/styledialog.cpp index 8eca0aa..b7c2798 100644 --- a/src/styledialog.cpp +++ b/src/styledialog.cpp @@ -236,7 +236,7 @@ StyleDialog::StyleDialog ( // overall sizer wxBoxSizer *reportTopSizer = new wxBoxSizer ( wxVERTICAL ); - reportTopSizer->Add ( comboSizer, 0, wxALL | wxALIGN_CENTER_VERTICAL, 5 ); + reportTopSizer->Add ( comboSizer, 0, wxALL, 5 ); reportTopSizer->Add ( table, 1, wxEXPAND | wxALL, 5 ); reportTopSizer->Add ( reportButtonSizer, 0, wxALL, 5 ); reportTopSizer->Add ( status, 0, wxEXPAND | wxALL );