summaryrefslogtreecommitdiff
path: root/Header.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-29 07:13:06 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-29 07:13:06 +0800
commite602301676e7ab6e63f0e3618329d6a7dca27306 (patch)
treed72f731707efadfb586c6139c87f333f8afdfe6f /Header.ui.qml
parent0e9a5785ff67e5298d837b16a6b8b622b90baece (diff)
Alias to profile info & its divider
Diffstat (limited to 'Header.ui.qml')
-rw-r--r--Header.ui.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/Header.ui.qml b/Header.ui.qml
index cf8d5e6..c320a65 100644
--- a/Header.ui.qml
+++ b/Header.ui.qml
@@ -12,6 +12,8 @@ ToolBar {
property alias profile: profile
property string imageSource: "https://eduport.webestica.com/assets/images/avatar/01.jpg"
property alias menu: menu
+ property alias info: info
+ property alias divider: divider
property string fullNameText: "Lori Ferguson"
property string emailText: "example@gmail.com"
property alias editProfile: editProfile
@@ -178,10 +180,11 @@ ToolBar {
}
Item {
- implicitHeight: info.height + 16
+ id: info
+ implicitHeight: layout.height + 16
RowLayout {
- id: info
+ id: layout
spacing: 16
anchors {
top: parent.top
@@ -217,6 +220,7 @@ ToolBar {
}
Loader {
+ id: divider
sourceComponent: menuSeparator
}