diff --git a/SL1_to_Photon_gui.py b/SL1_to_Photon_gui.py
index aac0a61..86e9440 100644
--- a/SL1_to_Photon_gui.py
+++ b/SL1_to_Photon_gui.py
@@ -131,7 +131,7 @@ def convert(self):
photon = pyphotonfile.Photon()
photon.exposure_time = self.exposureSpinBox.value()
photon.exposure_time_bottom = self.exposureBottomLayersSpinBox.value()
- # photon.layer_height = self.layerHeightDoubleSpinBox.value() # we don't want to mess with this
+ photon.layer_height = self.layerHeightDoubleSpinBox.value()
photon.bottom_layers = self.bottomLayersSpinBox.value()
self.progressBar.setMaximum(sl1.n_layers)
diff --git a/gui/mainwindow.ui b/gui/mainwindow.ui
index abc0164..59fb008 100644
--- a/gui/mainwindow.ui
+++ b/gui/mainwindow.ui
@@ -135,6 +135,9 @@
+
+ 3
+
0.050000000000000
diff --git a/gui/ui_mainwindow.py b/gui/ui_mainwindow.py
index 2333e80..1198131 100644
--- a/gui/ui_mainwindow.py
+++ b/gui/ui_mainwindow.py
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
-# Form implementation generated from reading ui file 'C:\Users\heiko\windguard\code\SL1toPhoton\gui\mainwindow.ui',
-# licensing of 'C:\Users\heiko\windguard\code\SL1toPhoton\gui\mainwindow.ui' applies.
+# Form implementation generated from reading ui file 'C:\Users\heiko\code\SL1toPhoton\gui\mainwindow.ui',
+# licensing of 'C:\Users\heiko\code\SL1toPhoton\gui\mainwindow.ui' applies.
#
-# Created: Thu Apr 18 17:22:47 2019
+# Created: Sat May 4 15:46:18 2019
# by: pyside2-uic running on PySide2 5.12.2
#
# WARNING! All changes made in this file will be lost!
@@ -74,6 +74,7 @@ def setupUi(self, MainWindow):
self.layerHeightDoubleSpinBox.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.layerHeightDoubleSpinBox.setReadOnly(True)
self.layerHeightDoubleSpinBox.setPrefix("")
+ self.layerHeightDoubleSpinBox.setDecimals(3)
self.layerHeightDoubleSpinBox.setSingleStep(0.05)
self.layerHeightDoubleSpinBox.setObjectName("layerHeightDoubleSpinBox")
self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.layerHeightDoubleSpinBox)