diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-18 19:47:52 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-18 19:47:52 +0800 |
commit | d73926331e294a54981718d0e4593cff94c9012a (patch) | |
tree | 3dc46f2334dd95b77c978a8914723199d7a8c3bd | |
parent | 8e1cd3d242644ea1777a4f872180a71c269c3677 (diff) |
Edit profile save button
-rw-r--r-- | InstructorEditProfile.ui.qml | 28 |
1 files changed, 28 insertions, 0 deletions
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 + } + } + } } } } |