summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-18 16:09:07 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-18 16:09:07 +0800
commit9c36f03c76498f1a860b08e4b5f885f14c293836 (patch)
treee86d4b3b229cf815d1df25e23849ae37232a70bf
parent8dd27c7cbcf49916654084e1e5140845fe2fe46b (diff)
No need for wrapper Item any more
-rw-r--r--InstructorEditProfile.ui.qml27
1 files changed, 11 insertions, 16 deletions
diff --git a/InstructorEditProfile.ui.qml b/InstructorEditProfile.ui.qml
index 3eb9070..b2f0633 100644
--- a/InstructorEditProfile.ui.qml
+++ b/InstructorEditProfile.ui.qml
@@ -98,25 +98,20 @@ Flickable {
RowLayout {
- Item {
+ Image {
+ id: avatar
Layout.rightMargin: 25.6
- implicitWidth: 82
- implicitHeight: 82
-
- Image {
- id: avatar
- source: "https://eduport.webestica.com/assets/images/avatar/07.jpg"
- sourceSize {
+ source: "https://eduport.webestica.com/assets/images/avatar/07.jpg"
+ sourceSize {
+ width: 82
+ height: 82
+ }
+ layer.enabled: true
+ layer.effect: OpacityMask {
+ maskSource: Rectangle {
width: 82
height: 82
- }
- layer.enabled: true
- layer.effect: OpacityMask {
- maskSource: Rectangle {
- width: 82
- height: 82
- radius: 82
- }
+ radius: 82
}
}
}