From 44a62a508f6704b76e636bc77c4d3045b237f86e Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Sat, 31 Aug 2019 13:01:52 +0700 Subject: fixed missing remove toolbar background that cause missing toolbar title --- pages/CreateProfileForm.ui.qml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'pages') diff --git a/pages/CreateProfileForm.ui.qml b/pages/CreateProfileForm.ui.qml index 45b6dcf..b9de7f8 100644 --- a/pages/CreateProfileForm.ui.qml +++ b/pages/CreateProfileForm.ui.qml @@ -12,18 +12,14 @@ Rectangle { ToolBar { id: toolbar - height: 48 + height: 56 + font.family: "Google Sans" anchors.top: parent.top anchors.topMargin: 0 anchors.right: parent.right anchors.rightMargin: 0 anchors.left: parent.left anchors.leftMargin: 0 - background: rectangle - - Rectangle { - color: "#fff" - } RowLayout { anchors.fill: parent @@ -33,11 +29,12 @@ Rectangle { id: backButton icon.name: "back-icon" icon.source: "/assets/arrow-back-24px.svg" - icon.color: "transparent" + icon.color: "#FFFFFF" } Label { id: title text: qsTr("Create Profile") + wrapMode: Text.WordWrap font.family: "Google Sans" font.pointSize: 20 elide: Label.ElideRight @@ -48,9 +45,6 @@ Rectangle { ToolButton { } } - Rectangle { - color: "transparent" - } } Rectangle { id: userEmail @@ -127,6 +121,8 @@ Rectangle { flat: true display: AbstractButton.IconOnly icon.name: "camera-icon" + icon.source: "/assets/photo_camera_24px.svg" + icon.color: "#6D22E9" } } } @@ -135,7 +131,7 @@ Rectangle { /*##^## Designer { - D{i:0;autoSize:true;height:480;width:640}D{i:1;anchors_width:640}D{i:8;anchors_height:48;anchors_y:143} -D{i:10;anchors_y:322}D{i:12;anchors_y:54} + D{i:0;autoSize:true;height:480;width:640}D{i:1;anchors_width:640}D{i:6;anchors_height:48;anchors_y:143} +D{i:8;anchors_y:322}D{i:10;anchors_y:54} } ##^##*/ -- cgit v1.2.3