wxGrid, resizing the column containing row labels?

34 views
Skip to first unread message

Tony Kennedy

unread,
Jun 17, 2025, 3:45:33 PMJun 17
to wx-users
Hi all,

I'm not sure if this is possible. I want the user to be able to resize the column that contains the row labels (column -1 I suppose).

Does the wxGrid class support this? I cannot see any function that might let me.

Tony.

PS. I've had it resizing in the past, but I think that was a custom patch. If I can figure out what happened (and it is a patch), I'd be happy to contribute it.

PB

unread,
Jun 17, 2025, 4:29:29 PMJun 17
to wx-users
Hi,

AFAICT, this is available only since wxWidgets 3.3, see https://docs.wxwidgets.org/trunk/classwx_grid.html#a530c020f82fdb50aa6649273c625ec44

You can try this in the grid sample there, where you need to check "Row label drag-resize" in the Grid menu.

Best
PB
Reply all
Reply to author
Forward
0 new messages