From: smorloc Date: Mon, 28 Jan 2013 17:04:50 +0000 (-0500) Subject: Disabled setting mininum control width X-Git-Tag: 13.03~64^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=279fe7e3bf7ff2f578124c0ac77a16a037177cbe;p=cura.git Disabled setting mininum control width Disabled setting mininum control width in configBase. This was to address a layout issue in the expert settings dialog. --- diff --git a/Cura/gui/configBase.py b/Cura/gui/configBase.py index f8e5323c..d99c9ba7 100644 --- a/Cura/gui/configBase.py +++ b/Cura/gui/configBase.py @@ -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)