From d1253c049475f2efc0289ef49a24589b3e540296 Mon Sep 17 00:00:00 2001 From: ck Date: Fri, 13 Dec 2024 09:44:34 +0800 Subject: [PATCH] fix: label text color not changed on enabled changed change opacity to 0.4 on disabled --- qt6/src/qml/Label.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt6/src/qml/Label.qml b/qt6/src/qml/Label.qml index 54e7069c..3f0a35b8 100644 --- a/qt6/src/qml/Label.qml +++ b/qt6/src/qml/Label.qml @@ -5,5 +5,5 @@ import QtQuick.Controls 2.4 Label { - + opacity: enabled ? 1 : 0.4 }