Hi all,
I am looking for a way to put an image into the row labels in a wxGrid.
Failing that, I would like to hide the row labels altogether.
I have found the method that lets me get the wxWindow that is the row
labels, and with a call like...
self.itemgrid.GetGridRowLabelWindow().Show(false)
I can get all the row labels to be hidden. The problem is that it
leaves a wide border on the left wide where the labels used to be.
So has anyone found a way to hide that border?
or does anyone have code that covers the row numbers with an image?
Thanks,
Bryan Muir
bmuir@eyrie.gsfc.nasa.gov wrote:
Hi all,
I am looking for a way to put an image into the row labels in a wxGrid.
Failing that, I would like to hide the row labels altogether.
I have found the method that lets me get the wxWindow that is the row
labels, and with a call like...
self.itemgrid.GetGridRowLabelWindow().Show(false)
I can get all the row labels to be hidden. The problem is that it
leaves a wide border on the left wide where the labels used to be.
So has anyone found a way to hide that border?
try
self.grid.SetRowLabelSize(0)
or does anyone have code that covers the row numbers with an image?
would you mind letting me know if you ever get it to work that way?
Raul