From d73926331e294a54981718d0e4593cff94c9012a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 18 Feb 2023 19:47:52 +0800 Subject: Edit profile save button --- InstructorEditProfile.ui.qml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'InstructorEditProfile.ui.qml') diff --git a/InstructorEditProfile.ui.qml b/InstructorEditProfile.ui.qml index f138a45..44b4d78 100644 --- a/InstructorEditProfile.ui.qml +++ b/InstructorEditProfile.ui.qml @@ -438,6 +438,34 @@ Flickable { } } } + + Button { + id: saveButton + Layout.topMargin: 25.6 + Layout.leftMargin: 12.8 + Layout.rightMargin: 12.8 + horizontalPadding: 16 + verticalPadding: 8 + contentItem: Text { + color: "white" + text: qsTr("Save changes") + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + font { + family: doesntEmbed ? "Roboto" : medium.name + weight: Font.Medium + pointSize: 15 + } + } + background: Rectangle { + radius: 5.2 + color: saveButton.down ? "#0555a1" : "#066ac9" + border { + color: saveButton.down ? "#055097" : "#066ac9" + width: 1 + } + } + } } } } -- cgit v1.2.3