chiark / gitweb /
Disabled setting mininum control width
authorsmorloc <smorloc@gmail.com>
Mon, 28 Jan 2013 17:04:50 +0000 (12:04 -0500)
committersmorloc <smorloc@gmail.com>
Mon, 28 Jan 2013 17:04:50 +0000 (12:04 -0500)
Disabled setting mininum control width in configBase.  This was to
address a layout issue in the expert settings dialog.

Cura/gui/configBase.py

index f8e5323c7e7f2b5b9b723f7d65e719e71adaeb29..d99c9ba7a5eadcd05ff82285cc50e6ea7dab9602 100644 (file)
@@ -179,12 +179,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)