hiero: creator gui with min max

This commit is contained in:
Jakub Jezek 2022-12-21 16:28:50 +01:00
parent 5bda706df7
commit 34f2c15d2d
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -276,8 +276,8 @@ class CreatorWidget(QtWidgets.QDialog):
elif v["type"] == "QSpinBox":
data[k]["value"] = self.create_row(
content_layout, "QSpinBox", v["label"],
setRange=(1, 9999999), setValue=v["value"],
setToolTip=tool_tip)
setValue=v["value"], setMinimum=0,
setMaximum=100000, setToolTip=tool_tip)
return data