Recently did an upgrade to my debian distribution to debian jesse
I notice my GUI program which I wrote in wxpython 2.8 was not displaying propery in wxpython3.0
Specifically, the text control box and button was not the same size. To add to this, I attempt to change the size of the mentioned widgets but it remained. the same.
Just to check if I am sane
I created two input box in a frame as follows:
class MyFrame(wx.Frame):
def __init__(self,title, pos, size):
wx.Frame.__init__(self, None, -1, title, pos, size)
self.input_box_search=wx.TextCtrl(self,-1,pos=(90,13),size=(400,80),style=wx.BORDER_NONE)
self.input_box_search1=wx.TextCtrl(self,-1,pos=(90,103),size=(400,40),style=wx.BORDER_NONE)
The two TextCtrl boxes had the same size!
the picture shows how two textctrl boxes of different size are displayed in wxpython3.0
Note: using wxpython2.8, each box size displayed correctly.
Recently did an upgrade to my debian distribution to debian
jesse
I notice my GUI program which I wrote in wxpython 2.8 was not
displaying propery in wxpython3.0
Specifically, the text control box and button was not the
same size. To add to this, I attempt to change the size of the
mentioned widgets but it remained. the same.
Just to check if I am sane
I created two input box in a frame as follows:
class MyFrame(wx.Frame):
def __init__(self,title, pos, size):
wx.Frame.__init__(self, None, -1, title, pos, size)
self.input_box_search=wx.TextCtrl(self,-1,pos=(90,13),size=(400,80),style=wx.BORDER_NONE)
self.input_box_search1=wx.TextCtrl(self,-1,pos=(90,103),size=(400,40),style=wx.BORDER_NONE
)
The two TextCtrl boxes had the same size!
the picture shows how two textctrl boxes of different size are displayed in wxpython3.0
Note: using wxpython2.8, each box size displayed correctly.
I am using No box sizers…the window frame is
fixed with widgets have fixed position…I am using wxpython3.0.3…when i execute “wx.version()” in python2.7 shell i got
“wx.version() ‘3.0.1.1 gtk2 (classic)’”