21
21
class DIALOG_TEXT_BASE ( wx .Dialog ):
22
22
23
23
def __init__ ( self , parent ):
24
- wx .Dialog .__init__ ( self , parent , id = wx .ID_ANY , title = _ (u"SparkFun KiCad BOM Generator" ), pos = wx .DefaultPosition , size = wx .Size ( 450 , 550 ), style = wx .DEFAULT_DIALOG_STYLE | wx .RESIZE_BORDER | wx .SYSTEM_MENU )
24
+ wx .Dialog .__init__ ( self , parent , id = wx .ID_ANY , title = _ (u"SparkFun KiCad BOM Generator" ), pos = wx .DefaultPosition , size = wx .Size ( 900 , 650 ), style = wx .DEFAULT_DIALOG_STYLE | wx .RESIZE_BORDER | wx .SYSTEM_MENU )
25
25
26
26
self .SetSizeHints ( wx .Size ( - 1 ,- 1 ), wx .DefaultSize )
27
27
@@ -47,7 +47,7 @@ def __init__( self, parent ):
47
47
48
48
bomSizer .Add ( self .bomLabel , 0 , wx .ALIGN_LEFT | wx .ALL | wx .EXPAND , 5 )
49
49
50
- self .bomGrid = wx .grid .Grid ( self , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , wx . FULL_REPAINT_ON_RESIZE )
50
+ self .bomGrid = wx .grid .Grid ( self , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , 0 )
51
51
52
52
# Grid
53
53
self .bomGrid .CreateGrid ( 1 , 5 )
@@ -102,7 +102,7 @@ def __init__( self, parent ):
102
102
103
103
nonBomSizer .Add ( self .nonBomLabel , 0 , wx .ALIGN_LEFT | wx .ALL | wx .EXPAND , 5 )
104
104
105
- self .nonBomGrid = wx .grid .Grid ( self , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , wx . FULL_REPAINT_ON_RESIZE )
105
+ self .nonBomGrid = wx .grid .Grid ( self , wx .ID_ANY , wx .DefaultPosition , wx .DefaultSize , 0 )
106
106
107
107
# Grid
108
108
self .nonBomGrid .CreateGrid ( 1 , 4 )
0 commit comments