diff --git a/CHANGELOG.md b/CHANGELOG.md index 1efce54..58d37ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,22 +1,42 @@ -# CHANGELOG +# Changelog -The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/). +## 0.1.3 - 2025-04-15 - -## 0.1.0 - 2024-09-18 +### Fixed -- First release -- Generated with the [QGIS Plugins templater](https://oslandia.gitlab.io/qgis/template-qgis-plugin/) +- bump version ([050947c](https://github.com/Loop3D/plugin_loopstructural/commit/050947ca6468291ef40c947893215c6f7eb0becc)) diff --git a/loopstructural/gui/modelling/modelling_widget.py b/loopstructural/gui/modelling/modelling_widget.py index 85a21ee..dd2fd5f 100644 --- a/loopstructural/gui/modelling/modelling_widget.py +++ b/loopstructural/gui/modelling/modelling_widget.py @@ -782,9 +782,12 @@ def pick_color(): return pick_color for i, (unit, value) in enumerate(self._getSortedStratigraphicColumn()): + # Add stretch factor to first column + + label = QLineEdit(unit) label.editingFinished.connect(lambda unit=unit, label=label: self.stratigraphicColumnUnitNameChanged(unit, label.text())) - spin_box = QDoubleSpinBox(maximum=10000, minimum=0) + spin_box = QDoubleSpinBox(maximum=100000, minimum=0) spin_box.setValue(value['thickness']) order = QLabel() order.setText(str(value['order'])) @@ -828,6 +831,7 @@ def pick_color(): lambda value, unit=unit: self.stratigraphicColumnRemoveClicked(unit) ) self.stratigraphicColumnContainer.addWidget(remove_button, i, 6) + self.updateGroups() def stratigraphicColumnChanged(self, text, unit): self._units[unit]['contact'] = text