I’m having difficulties with the wxGrid (using v2.8.12.1). There seems to be color overshoot over the margins of the grid. Is there a simple fix for this? A solution that sprung in my head is to change the row colors, but seems a bit too hacky. This visual bug doesn’t appear in the latest dev build, but I’m limited to using the stable release.
I have attached an image and sample script to illustrate the glitch.
I'm having difficulties with the wxGrid (using v2.8.12.1). There seems
to be color overshoot over the margins of the grid. Is there a simple
fix for this? A solution that sprung in my head is to change the row
colors, but seems a bit too hacky. This visual bug doesn't appear in the
latest dev build, but I'm limited to using the stable release.
I have attached an image and sample script to illustrate the glitch.
Are you talking about the red areas? If so, that is simply a side-effect of the nature of wx.ScrolledWindows (which is the base class of the wx.grid.Grid class.) ScrolledWindows always round up the virtual size to the next multiple of the scroll rate, so you will always end up with a little extra space except when the virtual size is an exact multiple of the scroll rate.