From: Daid Date: Thu, 28 Jun 2012 22:23:47 +0000 (+0200) Subject: Some layout changes adviced by Joris. To improve visibility of options. X-Git-Tag: 12.07~20^2~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e34d836d1f8d06751a2de9aa0bdad3168889be45;p=cura.git Some layout changes adviced by Joris. To improve visibility of options. --- diff --git a/Cura/gui/configBase.py b/Cura/gui/configBase.py index 79a7d248..2ce3b700 100644 --- a/Cura/gui/configBase.py +++ b/Cura/gui/configBase.py @@ -42,7 +42,7 @@ class configWindowBase(wx.Frame): rightConfigPanel.SetSizer(sizer) sizer = wx.BoxSizer(wx.HORIZONTAL) configPanel.SetSizer(sizer) - sizer.Add(leftConfigPanel) + sizer.Add(leftConfigPanel, border=35, flag=wx.RIGHT) sizer.Add(rightConfigPanel) leftConfigPanel.main = self rightConfigPanel.main = self @@ -92,7 +92,7 @@ class TitleRow(): x = sizer.GetRows() self.title = wx.StaticText(panel, -1, name) self.title.SetFont(wx.Font(wx.SystemSettings.GetFont(wx.SYS_ANSI_VAR_FONT).GetPointSize(), wx.FONTFAMILY_DEFAULT, wx.NORMAL, wx.FONTWEIGHT_BOLD)) - sizer.Add(self.title, (x,0), (1,3), flag=wx.EXPAND) + sizer.Add(self.title, (x,0), (1,3), flag=wx.EXPAND|wx.TOP, border=10) sizer.Add(wx.StaticLine(panel), (x+1,0), (1,3), flag=wx.EXPAND) sizer.SetRows(x + 2) diff --git a/Cura/gui/mainWindow.py b/Cura/gui/mainWindow.py index 453bd63c..0756e7fa 100644 --- a/Cura/gui/mainWindow.py +++ b/Cura/gui/mainWindow.py @@ -129,13 +129,13 @@ class mainWindow(configBase.configWindowBase): c = configBase.SettingRow(left, "Start distance (mm)", 'skirt_gap', '6.0', 'The distance between the skirt and the first layer.\nThis is the minimal distance, multiple skirt lines will be put outwards from this distance.') validators.validFloat(c, 0.0) - configBase.TitleRow(right, "Speed") + configBase.TitleRow(right, "Speed && Temperature") c = configBase.SettingRow(right, "Print speed (mm/s)", 'print_speed', '50', 'Speed at which printing happens. A well adjusted Ultimaker can reach 150mm/s, but for good quality prints you want to print slower. Printing speed depends on a lot of factors. So you will be experimenting with optimal settings for this.') validators.validFloat(c, 1.0) validators.warningAbove(c, 150.0, "It is highly unlikely that your machine can achieve a printing speed above 150mm/s") validators.printSpeedValidator(c) - configBase.TitleRow(right, "Temperature") + #configBase.TitleRow(right, "Temperature") c = configBase.SettingRow(right, "Printing temperature", 'print_temperature', '0', 'Temperature used for printing. Set at 0 to pre-heat yourself') validators.validFloat(c, 0.0, 340.0) validators.warningAbove(c, 260.0, "Temperatures above 260C could damage your machine, be careful!") @@ -155,7 +155,7 @@ class mainWindow(configBase.configWindowBase): configBase.TitleRow(left, "Machine size") c = configBase.SettingRow(left, "Nozzle size (mm)", 'nozzle_size', '0.4', 'The nozzle size is very important, this is used to calculate the line width of the infill, and used to calculate the amount of outside wall lines and thickness for the wall thickness you entered in the print settings.') - validators.validFloat(c, 0.1, 1.0) + validators.validFloat(c, 0.1, 10.0) c = configBase.SettingRow(left, "Machine center X (mm)", 'machine_center_x', '100', 'The center of your machine, your print will be placed at this location') validators.validInt(c, 10) configBase.settingNotify(c, self.preview3d.updateCenterX)