Skip to content

Commit c3c8699

Browse files
committed
Allowing up to 6 digits in the height/width options.
1 parent 593c23f commit c3c8699

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

openmc_plotter/docks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,13 @@ def _createOptionsBox(self):
127127
# Width
128128
self.widthBox = QDoubleSpinBox(self)
129129
self.widthBox.setRange(.1, 99999)
130+
self.widthBox.setDecimals(9)
130131
self.widthBox.valueChanged.connect(self.main_window.editWidth)
131132

132133
# Height
133134
self.heightBox = QDoubleSpinBox(self)
134135
self.heightBox.setRange(.1, 99999)
136+
self.widthBox.setDecimals(9)
135137
self.heightBox.valueChanged.connect(self.main_window.editHeight)
136138

137139
# ColorBy

0 commit comments

Comments
 (0)