mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 05:09:06 +08:00
parent
b49d5ab9e9
commit
5e7eb2fc93
@ -43,7 +43,7 @@ UM.Dialog
|
|||||||
TextField {
|
TextField {
|
||||||
id: peak_height
|
id: peak_height
|
||||||
objectName: "Peak_Height"
|
objectName: "Peak_Height"
|
||||||
validator: RegExpValidator {regExp: /^\d{1,3}([\,|\.]\d*)?$/}
|
validator: RegExpValidator {regExp: /^\d{0,3}([\,|\.]\d*)?$/}
|
||||||
width: 180 * screenScaleFactor
|
width: 180 * screenScaleFactor
|
||||||
onTextChanged: { manager.onPeakHeightChanged(text) }
|
onTextChanged: { manager.onPeakHeightChanged(text) }
|
||||||
}
|
}
|
||||||
@ -66,7 +66,7 @@ UM.Dialog
|
|||||||
TextField {
|
TextField {
|
||||||
id: base_height
|
id: base_height
|
||||||
objectName: "Base_Height"
|
objectName: "Base_Height"
|
||||||
validator: RegExpValidator {regExp: /^\d{1,3}([\,|\.]\d*)?$/}
|
validator: RegExpValidator {regExp: /^\d{0,3}([\,|\.]\d*)?$/}
|
||||||
width: 180 * screenScaleFactor
|
width: 180 * screenScaleFactor
|
||||||
onTextChanged: { manager.onBaseHeightChanged(text) }
|
onTextChanged: { manager.onBaseHeightChanged(text) }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user