Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfieldOfView <aldo@fieldofview.com>2017-10-14 12:49:27 +0300
committerChrisTerBeke <c.terbeke@ultimaker.com>2017-10-16 11:39:02 +0300
commitd4e83ceba8ff7a0700ad6b8277c35b0d0941949c (patch)
tree808c58f9db833c0b60738a5697d5bbe68ca518c6
parent464cf139a88f4eb176c1d95f5b6ec48f88acd133 (diff)
Fix one more fractional pixel offset affecting text placement
-rwxr-xr-xresources/qml/Sidebar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml
index 475e36d2dc..338eabffa2 100755
--- a/resources/qml/Sidebar.qml
+++ b/resources/qml/Sidebar.qml
@@ -152,7 +152,7 @@ Rectangle
Button {
height: settingsModeSelection.height
anchors.left: parent.left
- anchors.leftMargin: model.index * (settingsModeSelection.width / 2)
+ anchors.leftMargin: model.index * Math.floor(settingsModeSelection.width / 2)
anchors.verticalCenter: parent.verticalCenter
width: Math.floor(0.5 * parent.width)
text: model.text