Browse Source

Round margins
CURA-5435

Mark 6 years ago
parent
commit
3fefdad14b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/Toolbox/resources/qml/ToolboxInstalledTile.qml

+ 2 - 2
plugins/Toolbox/resources/qml/ToolboxInstalledTile.qml

@@ -40,9 +40,9 @@ Item
         Column
         {
             id: pluginInfo
-            topPadding: UM.Theme.getSize("default_margin").height / 2
+            topPadding: Math.floor(UM.Theme.getSize("default_margin").height / 2)
             property var color: model.type === "plugin" && !isEnabled ? UM.Theme.getColor("lining") : UM.Theme.getColor("text")
-            width: tileRow.width - (authorInfo.width + pluginActions.width + 2 * tileRow.spacing + ((disableButton.visible) ? disableButton.width + tileRow.spacing : 0))
+            width: Math.floor(tileRow.width - (authorInfo.width + pluginActions.width + 2 * tileRow.spacing + ((disableButton.visible) ? disableButton.width + tileRow.spacing : 0)))
             Label
             {
                 text: model.name