From c004b4d9d6717798aaa25b7b4f7640eafeed8485 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Tue, 21 Feb 2023 15:34:43 +0800 Subject: Disabled save button colour --- InstructorEditProfile.ui.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/InstructorEditProfile.ui.qml b/InstructorEditProfile.ui.qml index 1729a34..1117070 100644 --- a/InstructorEditProfile.ui.qml +++ b/InstructorEditProfile.ui.qml @@ -466,9 +466,10 @@ Flickable { } background: Rectangle { radius: 5.2 - color: saveButton.down ? "#0555a1" : "#066ac9" + color: saveButton.down ? "#0555a1" : saveButton.enabled ? "#066ac9" : "#a6066ac9" border { - color: saveButton.down ? "#055097" : "#066ac9" + color: saveButton.down ? "#055097" : saveButton.enabled ? "#066ac9" : "#a6066ac9" + width: 1 } } -- cgit v1.3