From 611c3038b4b51564085625f13056784b435d0bc9 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: Thu, 19 Jan 2023 14:46:37 +0800 Subject: Separate header for reuse --- DefaultHomeFlickable.ui.qml | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) (limited to 'DefaultHomeFlickable.ui.qml') diff --git a/DefaultHomeFlickable.ui.qml b/DefaultHomeFlickable.ui.qml index e2f89fe..0e5300f 100644 --- a/DefaultHomeFlickable.ui.qml +++ b/DefaultHomeFlickable.ui.qml @@ -15,34 +15,8 @@ Flickable { right: parent.right } - ToolBar { + HeaderToolBar { Layout.fillWidth: true - RowLayout { - anchors.fill: parent - layoutDirection: Qt.RightToLeft - ToolButton { - onClicked: optionsMenu.open() - Menu { - id: optionsMenu - y: parent.height - Action { - text: qsTr("Edit Profile") - } - Action { - text: qsTr("Account Settings") - } - Action { - text: qsTr("Help") - } - Action { - text: qsTr("Sign Out") - } - Action { - text: qsTr("Dark Mode") - } - } - } - } } Item { -- cgit v1.2.3