A user reports this: I am trying to create a widget GUI similar to the widgets.py example provided. However my major concern is that I would like to disable the resizing option, since I cannot resize and layout the widgets properly without using wx.Sizer. Is it possible to disable the resize option of the window? Or if not, is it possible to use wx.Sizer/Grid to keep the layout of the window proportional to the window size?
I looked in the code for the window class (create_display.py), and the style attribute is set to wx.DeFAULT_FRAME_STYLE. I changed this temporarily to wx.SYSTEM_MENU | wx.CAPTION | wx.CLOSE_BOX and it did work. however I would not like to mess about with the vpython code. Is it possible to change this attribute from outside this code? Or is it possible to have a new release of vpython where this attribute is not fixed?
A user reports this: I am trying to create a widget GUI similar to the widgets.py example provided. However my major concern is that I would like to disable the resizing option, since I cannot resize and layout the widgets properly without using wx.Sizer. Is it possible to disable the resize option of the window? Or if not, is it possible to use wx.Sizer/Grid to keep the layout of the window proportional to the window size?
I looked in the code for the window class (create_display.py), and the style attribute is set to wx.DeFAULT_FRAME_STYLE. I changed this temporarily to wx.SYSTEM_MENU | wx.CAPTION | wx.CLOSE_BOX and it did work. however I would not like to mess about with the vpython code. Is it possible to change this attribute from outside this code? Or is it possible to have a new release of vpython where this attribute is not fixed?