mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 15:25:09 -06:00
Remove unneccesary opacity assignment.
Change padding to styled width CURA-8688
This commit is contained in:
parent
bc4222c34f
commit
d40e91cc08
1 changed files with 2 additions and 7 deletions
|
@ -43,7 +43,7 @@ Item
|
|||
editable: base.editable
|
||||
topPadding: 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`
|
||||
// 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;
|
||||
}
|
||||
|
||||
background: Item
|
||||
{
|
||||
// Makes space between buttons and textfield transparent
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
background: Item {}
|
||||
|
||||
//TextField should be swapped with UM.TextField when it is restyled
|
||||
contentItem: TextField
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue