chiark / gitweb /
Merge pull request #349 from smorloc/master
authordaid <daid303@gmail.com>
Tue, 29 Jan 2013 12:55:33 +0000 (04:55 -0800)
committerdaid <daid303@gmail.com>
Tue, 29 Jan 2013 12:55:33 +0000 (04:55 -0800)
Disabled setting minimum control width in configBase.

1  2 
Cura/gui/configBase.py

diff --combined Cura/gui/configBase.py
index f2c4355e50da8dc05367a319bc60ad3133c09c27,d99c9ba7a5eadcd05ff82285cc50e6ea7dab9602..dd3c3f40f08f09b43c97c3de897078c23a1871a9
@@@ -1,5 -1,4 +1,5 @@@
  from __future__ import absolute_import
 +from __future__ import division
  
  import platform
  import wx, wx.lib.stattext, types
@@@ -180,12 -179,12 +180,12 @@@ class SettingRow()
                # Set the minimum size of control to something other than the humungous default
                minSize = self.ctrl.GetMinSize()
                
-               if platform.system() == "Darwin":
-                       # Under MacOS, it appears that the minSize is used for the actual size, so give the field a bit more room...
-                       minSize[0] = 150
-               else:
-                       minSize[0] = 50
-               self.ctrl.SetMinSize(minSize)
+               ##if platform.system() == "Darwin":
+               ##      # Under MacOS, it appears that the minSize is used for the actual size, so give the field a bit more room...
+               ##      minSize[0] = 150
+               ##else:
+               ##      minSize[0] = 50
+               ##self.ctrl.SetMinSize(minSize)
                
                sizer.Add(self.label, (x,y), flag=wx.ALIGN_CENTER_VERTICAL|wx.LEFT,border=10)
                sizer.Add(self.ctrl, (x,y+1), flag=wx.ALIGN_BOTTOM|flag)