How do I set the padding for the column text?
I'm on Mac OS X Ventura 13.1, using Clang 14.0.0 arm64-apple-darwin22.1.0, wxWidgets from vcpkg list says:
wxwidgets:arm64-osx 3.2.1#2 Widget toolkit and tools library for creating gr...
wxwidgets[debug-support]:arm64-osx Enable wxWidgets debugging support hooks even fo...
wxwidgets[sound]:arm64-osx Build wxSound support
I believe I am using all defaults for the list view:
Code: Select all
void MyFrame::BuildListView()
{
listView = new wxListView(this);
listView->AppendColumn("Col0");
listView->AppendColumn("Col1");
listView->AppendColumn("Col2");
listView->SetColumnWidth(0, 90);
listView->SetColumnWidth(1, 100);
listView->SetColumnWidth(2, 150);
auto listViewSizer = new wxBoxSizer(wxVERTICAL);
listViewSizer->Add(listView, 1, wxALL | wxEXPAND, 0);
this->SetSizerAndFit(listViewSizer);
}