Skip to content

Commit 3f628c5

Browse files
committed
fix: increase max thickness
1 parent 91e7d8b commit 3f628c5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

loopstructural/gui/modelling/modelling_widget.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,9 +782,12 @@ def pick_color():
782782
return pick_color
783783

784784
for i, (unit, value) in enumerate(self._getSortedStratigraphicColumn()):
785+
# Add stretch factor to first column
786+
787+
785788
label = QLineEdit(unit)
786789
label.editingFinished.connect(lambda unit=unit, label=label: self.stratigraphicColumnUnitNameChanged(unit, label.text()))
787-
spin_box = QDoubleSpinBox(maximum=10000, minimum=0)
790+
spin_box = QDoubleSpinBox(maximum=100000, minimum=0)
788791
spin_box.setValue(value['thickness'])
789792
order = QLabel()
790793
order.setText(str(value['order']))
@@ -828,6 +831,7 @@ def pick_color():
828831
lambda value, unit=unit: self.stratigraphicColumnRemoveClicked(unit)
829832
)
830833
self.stratigraphicColumnContainer.addWidget(remove_button, i, 6)
834+
831835
self.updateGroups()
832836
def stratigraphicColumnChanged(self, text, unit):
833837
self._units[unit]['contact'] = text

0 commit comments

Comments
 (0)