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.

Cura/gui/configBase.py

index f2c4355e50da8dc05367a319bc60ad3133c09c27..dd3c3f40f08f09b43c97c3de897078c23a1871a9 100644 (file)
@@ -180,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)