From bc28cb42c2392a5ae31cdeff0722276eb0f7c490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Sun, 7 Mar 2021 18:26:24 +0100 Subject: [PATCH] Fix wxCheckListBox checkbox size on macOS Decrease the size of checkbox column so that it's not downright excessive. --- src/osx/checklst_osx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/checklst_osx.cpp b/src/osx/checklst_osx.cpp index 134e778338..0807cc7fd5 100644 --- a/src/osx/checklst_osx.cpp +++ b/src/osx/checklst_osx.cpp @@ -63,7 +63,7 @@ bool wxCheckListBox::Create( if ( !wxCheckListBoxBase::Create( parent, id, pos, size, n, choices, style & ~(wxHSCROLL | wxVSCROLL), validator, name ) ) return false; - int colwidth = 30; + int colwidth = 18; // TODO adapt the width according to the window variant m_checkColumn = GetListPeer()->InsertCheckColumn(0, wxEmptyString, true, wxALIGN_CENTER, colwidth);