I am drawing a grid, together with other widgets, in a panel of a tabbed notebook. I am using wx.DefaultSize and putting it in an expandable BoxSizer.
If I create the grid while that tabbed panel is being displayed, it always adds horizontal and vertical scrollbars although the overall size of the grid is sufficient to contain the whole grid if the scrollbars weren’t being drawn. In fact if I visit a different page on the notrebook and tab back again, the grid is correctly displayed without the scrollbars.
Is there any way to create the grid while that page is visible but without the scrollbars? I’ve tried various combinations of CallAfter / notebook panel / Refresh() but without success.
···
–
Regards
David Hughes
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/1082534f-329c-4366-9c6b-1333253b7af5%40googlegroups.com.