Просмотр исходного кода

Icon is dragged into visible area

CURA-10835
saumya.jain 1 год назад
Родитель
Сommit
cb4c4214f4
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      resources/qml/Preferences/SettingVisibilityItem.qml

+ 3 - 2
resources/qml/Preferences/SettingVisibilityItem.qml

@@ -20,6 +20,7 @@ Item
         width: childrenRect.width;
         height: childrenRect.height;
         id: checkboxTooltipArea
+        x: check.height
         UM.CheckBox
         {
             id: check
@@ -40,7 +41,7 @@ Item
     {
         width: height
         height: check.height
-        anchors.left: checkboxTooltipArea.right
+        anchors.right: checkboxTooltipArea.left
         anchors.leftMargin: 2 * screenScaleFactor
 
         text:
@@ -82,7 +83,7 @@ Item
 
             source: UM.Theme.getIcon("Information")
 
-            color: UM.Theme.getColor("primary_button_text")
+            color: UM.Theme.getColor("small_button_text")
         }
 
         visible: provider.properties.enabled == "False"