Browse Source

Give tick marks a font

Otherwise it uses your system's font, which is not consistent.

Contributes to issue CURA-6025.
Ghostkeeper 6 years ago
parent
commit
4be9fbb75e

+ 1 - 0
resources/qml/PrintSetupSelector/Recommended/RecommendedInfillDensitySelector.qml

@@ -141,6 +141,7 @@ Item
                         Label
                         {
                             text: index
+                            font: UM.Theme.getFont("default")
                             visible: (index % 20) == 0 // Only show steps of 20%
                             anchors.horizontalCenter: parent.horizontalCenter
                             y: UM.Theme.getSize("thin_margin").height

+ 1 - 0
resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml

@@ -272,6 +272,7 @@ Item
                         return Math.round((settingsColumnWidth / qualityModel.totalTicks) * index - (width / 2))
                     }
                 }
+                font: UM.Theme.getFont("default")
             }
         }
     }