Commit 79d131b2926462a5321cefdc88cbf1da56fe581b

Authored by Paulo Henrique Junqueira Amorim
1 parent 96ff1cea

ENH: Changed size in the windows xp

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
invesalius/gui/preferences.py
@@ -75,7 +75,7 @@ class Viewer3D(wx.Panel): @@ -75,7 +75,7 @@ class Viewer3D(wx.Panel):
75 75
76 def __init__(self, parent): 76 def __init__(self, parent):
77 77
78 - wx.Panel.__init__(self, parent, size = wx.Size(800,600)) 78 + wx.Panel.__init__(self, parent)
79 79
80 80
81 box_visualization = wx.StaticBox(self, -1, _("Surface")) 81 box_visualization = wx.StaticBox(self, -1, _("Surface"))
@@ -96,7 +96,7 @@ class Viewer3D(wx.Panel): @@ -96,7 +96,7 @@ class Viewer3D(wx.Panel):
96 bsizer_ren.Add(lbl_rendering, 0, wx.TOP | wx.LEFT, 10) 96 bsizer_ren.Add(lbl_rendering, 0, wx.TOP | wx.LEFT, 10)
97 97
98 rb_rendering = self.rb_rendering = wx.RadioBox(self, -1, "", wx.DefaultPosition, wx.DefaultSize, 98 rb_rendering = self.rb_rendering = wx.RadioBox(self, -1, "", wx.DefaultPosition, wx.DefaultSize,
99 - ['CPU', 'GPU (Only NVidia video card)'], 3, wx.RA_SPECIFY_COLS | wx.NO_BORDER) 99 + ['CPU', 'GPU (Only NVidia video card)'], 2, wx.RA_SPECIFY_COLS | wx.NO_BORDER)
100 100
101 bsizer_ren.Add(rb_rendering, 0, wx.TOP | wx.LEFT, 0) 101 bsizer_ren.Add(rb_rendering, 0, wx.TOP | wx.LEFT, 0)
102 border = wx.BoxSizer(wx.VERTICAL) 102 border = wx.BoxSizer(wx.VERTICAL)
@@ -125,7 +125,7 @@ class Language(wx.Panel): @@ -125,7 +125,7 @@ class Language(wx.Panel):
125 125
126 def __init__(self, parent): 126 def __init__(self, parent):
127 127
128 - wx.Panel.__init__(self, parent, size = wx.Size(800,600)) 128 + wx.Panel.__init__(self, parent)
129 129
130 130
131 box = wx.StaticBox(self, -1, "Language") 131 box = wx.StaticBox(self, -1, "Language")