From fceffce56e0d078b5244577cbd53803e21fc0878 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Thu, 21 Mar 2019 14:18:07 +0100 Subject: [PATCH] Show the slider in the middle when there is only one quality profile available. Contributes to CURA-6121. --- .../Recommended/RecommendedQualityProfileSelector.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml index ecf606d574..0486f5d2d7 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml @@ -137,7 +137,7 @@ Item if (availableMin == -1 || (availableMin == 0 && availableMax == 0)) { // Do not use Math.round otherwise the tickmarks won't be aligned - qualityModel.qualitySliderMarginRight = settingsColumnWidth + qualityModel.qualitySliderMarginRight = settingsColumnWidth / 2 } else if (availableMin == availableMax) {