From 279fe7e3bf7ff2f578124c0ac77a16a037177cbe Mon Sep 17 00:00:00 2001 From: smorloc Date: Mon, 28 Jan 2013 12:04:50 -0500 Subject: [PATCH] Disabled setting mininum control width Disabled setting mininum control width in configBase. This was to address a layout issue in the expert settings dialog. --- Cura/gui/configBase.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) -- 2.30.2