mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 07:36:02 +08:00
Remove unneccesary opacity assignment.
Change padding to styled width CURA-8688
This commit is contained in:
parent
bc4222c34f
commit
d40e91cc08
@ -43,7 +43,7 @@ Item
|
|||||||
editable: base.editable
|
editable: base.editable
|
||||||
topPadding: 0
|
topPadding: 0
|
||||||
bottomPadding: 0
|
bottomPadding: 0
|
||||||
padding: UM.Theme.getSize("spinbox").height / 4
|
padding: UM.Theme.getSize("narrow_margin").width
|
||||||
|
|
||||||
// The stepSize of the SpinBox is intentionally set to be always `1`
|
// The stepSize of the SpinBox is intentionally set to be always `1`
|
||||||
// As SpinBoxes can only contain integer values the `base.stepSize` is concidered the precision/resolution
|
// As SpinBoxes can only contain integer values the `base.stepSize` is concidered the precision/resolution
|
||||||
@ -71,12 +71,7 @@ Item
|
|||||||
base.value = value * base.stepSize;
|
base.value = value * base.stepSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Item
|
background: Item {}
|
||||||
{
|
|
||||||
// Makes space between buttons and textfield transparent
|
|
||||||
opacity: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//TextField should be swapped with UM.TextField when it is restyled
|
//TextField should be swapped with UM.TextField when it is restyled
|
||||||
contentItem: TextField
|
contentItem: TextField
|
||||||
|
Loading…
x
Reference in New Issue
Block a user