mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Apply suggestions from code review
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
This commit is contained in:
parent
90ce031b27
commit
cac9d67352
3 changed files with 4 additions and 4 deletions
|
@ -91,7 +91,7 @@ Item
|
|||
fixedWidthMode: true
|
||||
// The maximum width of the button is half of the total space, minus the padding of the parent, the right
|
||||
// padding of the component and half the spacing because of the space between buttons.
|
||||
width: parent.width / 2 - rightPadding * 1.5
|
||||
width: Math.round(parent.width / 2 - rightPadding * 1.5)
|
||||
onClicked:
|
||||
{
|
||||
machineSelection.toggleContent()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue