Hi !
I have a small problem with wx.Grid and scrollbars.
Scrollbars definitively dissapears after resizing the frame.
Thx for help
#----------------------------------------------------------------------
import wx,wx.grid
#----------------------------------------------------------------------
class MainWindow(wx.F rame):
def __init__(self,p arent,id,title) :
wx.Frame.__init __(self,parent, wx.ID_ANY,title )
#--
self.grid= wx.grid.Grid(id =wx.ID_ANY,pare nt=self)
self.grid.Creat eGrid(numRows=1 0,numCols=2)
self.grid.Fit()
self.Fit()
#--
self.Show(1)
#----------------------------------------------------------------------
app = wx.PySimpleApp( )
frame=MainWindo w(None,-1,'Grid sizer')
app.MainLoop()
del app
I have a small problem with wx.Grid and scrollbars.
Scrollbars definitively dissapears after resizing the frame.
Thx for help
#----------------------------------------------------------------------
import wx,wx.grid
#----------------------------------------------------------------------
class MainWindow(wx.F rame):
def __init__(self,p arent,id,title) :
wx.Frame.__init __(self,parent, wx.ID_ANY,title )
#--
self.grid= wx.grid.Grid(id =wx.ID_ANY,pare nt=self)
self.grid.Creat eGrid(numRows=1 0,numCols=2)
self.grid.Fit()
self.Fit()
#--
self.Show(1)
#----------------------------------------------------------------------
app = wx.PySimpleApp( )
frame=MainWindo w(None,-1,'Grid sizer')
app.MainLoop()
del app
Comment