mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06:00
Round width of buttons
They were getting rendered a bit weird if your pixel scale was not an integer (for me it's 1.25).
This commit is contained in:
parent
a181ffe79d
commit
279812e4ff
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) 2016 Ultimaker B.V.
|
||||
// Copyright (c) 2018 Ultimaker B.V.
|
||||
// Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.7
|
||||
|
@ -91,7 +91,7 @@ UM.ManagementPage
|
|||
|
||||
Item
|
||||
{
|
||||
width: childrenRect.width + 2 * screenScaleFactor
|
||||
width: Math.round(childrenRect.width + 2 * screenScaleFactor)
|
||||
height: childrenRect.height
|
||||
Button
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue