Fix wxCheckListBox checkbox size on macOS

Decrease the size of checkbox column so that it's not downright
excessive.
This commit is contained in:
Václav Slavík
2021-03-07 18:26:24 +01:00
parent 1d23f7befe
commit bc28cb42c2

View File

@@ -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);