From e602301676e7ab6e63f0e3618329d6a7dca27306 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: Wed, 29 Mar 2023 07:13:06 +0800 Subject: Alias to profile info & its divider --- Header.ui.qml | 8 ++++++-- 1 file 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 } -- cgit v1.2.3