diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-31 13:01:52 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-31 13:01:52 +0700 |
commit | 44a62a508f6704b76e636bc77c4d3045b237f86e (patch) | |
tree | 57af47cba8b4ba9efc5a145bb1e5e39c11b6c793 | |
parent | 8ef79d7a54c8bed022b992b094a2633aaf6f5471 (diff) |
fixed missing remove toolbar background that cause missing toolbar title
-rw-r--r-- | pages/CreateProfileForm.ui.qml | 20 |
1 files changed, 8 insertions, 12 deletions
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} } ##^##*/ |