diff options
| author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-28 14:05:22 +0700 | 
|---|---|---|
| committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-28 14:05:22 +0700 | 
| commit | 32e38e39a5a283a04b275fbf14b8d20dc40caab5 (patch) | |
| tree | f56aaf0d0f39214f7fdeb2be838746d2a0f0fe1d | |
| parent | 891b3637cde5c7fbc44cf7f048b57095ee3587a3 (diff) | |
fix back button size
| -rw-r--r-- | pages/EmailForm.ui.qml | 36 | 
1 files changed, 9 insertions, 27 deletions
| diff --git a/pages/EmailForm.ui.qml b/pages/EmailForm.ui.qml index 9401c91..d9b3b95 100644 --- a/pages/EmailForm.ui.qml +++ b/pages/EmailForm.ui.qml @@ -23,30 +23,20 @@ Rectangle {          anchors.left: parent.left          anchors.leftMargin: 0 -        Rectangle { -            id: navIconBg -            width: 24 -            height: 24 -            anchors.left: parent.left -            anchors.leftMargin: 16 +        Button { +            id: backButton              anchors.verticalCenter: parent.verticalCenter +            anchors.left: parent.left +            anchors.leftMargin: 8 +            display: AbstractButton.IconOnly +            icon.name: "back-icon" +            icon.source: "/assets/arrow-back-24px.svg" +            icon.color: "transparent" -            Button { -                id: backButton -                display: AbstractButton.IconOnly -                anchors.fill: parent -                icon.name: "back-icon" -                icon.source: "/assets/arrow-back-24px.svg" -                icon.height: navIconBg.height -                icon.width: navIconBg.width -                icon.color: transparent - -                background: Rectangle { -                } +            background: Rectangle {              }          }      } -      Label {          x: 16          y: 398 @@ -121,11 +111,3 @@ Rectangle {          }      }  } - - - - -/*##^## Designer { -    D{i:3;anchors_x:24;anchors_y:0}D{i:2;anchors_height:24;anchors_width:24} -} - ##^##*/ |