File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
loopstructural/gui/modelling Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments