Browse Source

Set padding to 0 to remove vertical shift on Linux builds.

Mark Burton 4 years ago
parent
commit
2669fbe608
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/qml/MachineSettings/NumericTextFieldWithUnit.qml

+ 1 - 0
resources/qml/MachineSettings/NumericTextFieldWithUnit.qml

@@ -77,6 +77,7 @@ UM.TooltipArea
         anchors.left: fieldLabel.right
         anchors.leftMargin: UM.Theme.getSize("default_margin").width
         verticalAlignment: Text.AlignVCenter
+        padding: 0
         width: numericTextFieldWithUnit.controlWidth
         height: numericTextFieldWithUnit.controlHeight