autosizing in wxpython Topic is solved

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

autosizing in wxpython

Post by pikkip »

I am a beginner in wxPython. Could somene tell me how to autosize the rows and columns of a grid based on the content size. I went through many references but couldn't find an appropriate answer. :?
User avatar
doublemax
Moderator
Moderator
Posts: 19158
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: autosizing in wxpython

Post by doublemax »

Do you mean wxGrid? Then there is wxGrid::AutoSize()

If that's not what you mean, please me more specific. A code sample and/or a screenshot might help, too.
Use the source, Luke!
User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

Re: autosizing in wxpython

Post by pikkip »

Yes, I meant wx.grid
User avatar
doublemax
Moderator
Moderator
Posts: 19158
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: autosizing in wxpython

Post by doublemax »

Use the source, Luke!
Post Reply