diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-17 20:00:07 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-17 20:00:07 +0800 |
commit | 08aac634c6bf674b0bc9d8eef5e47843d4756c78 (patch) | |
tree | 08fc4b924c4fa9fee2de41051775244f00f4d708 | |
parent | 82ee8dddae67574891e73c8a26f742192b6bc553 (diff) |
Implementation of edit profile separator
Just use rectangle with 1 pixel of height,
and make the colour half as thin, because
the top & bottom lines will make it full.
-rw-r--r-- | InstructorEditProfile.ui.qml | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/InstructorEditProfile.ui.qml b/InstructorEditProfile.ui.qml index 4411d11..0d3a045 100644 --- a/InstructorEditProfile.ui.qml +++ b/InstructorEditProfile.ui.qml @@ -36,26 +36,29 @@ Flickable { ColumnLayout { id: editProfile + Label { + id: cardHeader + text: + qsTr("Edit Profile") + padding: 16 + font { + family: + doesntEmbed + ? "Roboto" + : bold.name + weight: Font + .Bold + pointSize: 23 + } + } + Rectangle { - implicitWidth: - cardHeader.width - implicitHeight: - cardHeader.height - radius: 8 + width: cardHeader.width + height: 1 border { width: 1 - color: "#1a000000" - } - - Label { - id: cardHeader - text: qsTr("Edit Profile") - padding: 16 - font { - family: doesntEmbed ? "Roboto" : bold.name - weight: Font.Bold - pointSize: 23 - } + color: + "#0a000000" } } |