fix(StatusModal): back button arrow was tiny

Closes #6727
This commit is contained in:
Alexandra Betouni 2022-08-02 16:48:07 +03:00 committed by Alexandra Betouni
parent d1577e4b75
commit 6b63d8ee7a
13 changed files with 13 additions and 58 deletions

@ -1 +1 @@
Subproject commit cff836280f3b9e1671518568fe1884f286b36054 Subproject commit 9738890d9de4aaf9bc1bdcc3fb5435d1bdeb1e3d

View File

@ -74,10 +74,7 @@ Column {
StatusListItem { StatusListItem {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
title: qsTr("Leave community") title: qsTr("Leave community")
icon.name: "arrow-right" icon.name: "arrow-left"
icon.height: 16
icon.width: 20
icon.rotation: 180
type: StatusListItem.Type.Danger type: StatusListItem.Type.Danger
sensor.onClicked: root.leaveButtonClicked() sensor.onClicked: root.leaveButtonClicked()
} }

View File

@ -143,12 +143,8 @@ StatusModal {
} }
leftButtons: [ leftButtons: [
StatusRoundButton { StatusBackButton {
visible: !stack.isFirstGroup visible: !stack.isFirstGroup
icon.name: "arrow-right"
icon.width: 20
icon.height: 16
rotation: 180
onClicked: { onClicked: {
stack.back() stack.back()
} }

View File

@ -252,12 +252,8 @@ StatusModal {
} }
leftButtons: [ leftButtons: [
StatusRoundButton { StatusBackButton {
visible: popup.addMembers visible: popup.addMembers
icon.name: "arrow-right"
icon.width: 20
icon.height: 16
icon.rotation: 180
onClicked: { onClicked: {
popup.addMembers = false; popup.addMembers = false;
popup.resetSelectedMembers(); popup.resetSelectedMembers();

View File

@ -131,12 +131,8 @@ StatusModal {
leftButtons: [ leftButtons: [
StatusRoundButton { StatusBackButton {
id: backButton id: backButton
icon.name: "arrow-right"
icon.height: 16
icon.width: 20
rotation: 180
onClicked: { onClicked: {
root.close() root.close()
} }

View File

@ -102,12 +102,8 @@ StatusModal {
} }
leftButtons: [ leftButtons: [
StatusRoundButton { StatusBackButton {
id: backButton id: backButton
icon.name: "arrow-right"
icon.height: 16
icon.width: 20
rotation: 180
visible: contentItem.depth > 1 visible: contentItem.depth > 1
height: !visible ? 0 : implicitHeight height: !visible ? 0 : implicitHeight
onClicked: { onClicked: {

View File

@ -57,11 +57,7 @@ StatusModal {
} }
leftButtons: [ leftButtons: [
StatusRoundButton { StatusBackButton {
icon.name: "arrow-right"
icon.height: 16
icon.width: 20
rotation: 180
onClicked: { onClicked: {
popup.close() popup.close()
} }

View File

@ -98,11 +98,7 @@ StatusModal {
} }
leftButtons: [ leftButtons: [
StatusRoundButton { StatusBackButton {
icon.name: "arrow-right"
icon.width: 20
icon.height: 16
rotation: 180
onClicked: popup.close() onClicked: popup.close()
} }
] ]

View File

@ -74,11 +74,7 @@ StatusModal {
} }
leftButtons: [ leftButtons: [
StatusRoundButton { StatusBackButton {
icon.name: "arrow-right"
icon.height: 16
icon.width: 20
rotation: 180
onClicked: { onClicked: {
root.close() root.close()
} }

View File

@ -329,9 +329,7 @@ Item {
StatusMenuItem { StatusMenuItem {
text: qsTr("Leave Community") text: qsTr("Leave Community")
icon.name: "arrow-right" icon.name: "arrow-left"
icon.width: 14
iconRotation: 180
type: StatusMenuItem.Type.Danger type: StatusMenuItem.Type.Danger
onTriggered: communityContextMenu.chatCommunitySectionModule.leaveCommunity() onTriggered: communityContextMenu.chatCommunitySectionModule.leaveCommunity()
} }

View File

@ -256,12 +256,8 @@ StatusModal {
} }
leftButtons: [ leftButtons: [
StatusRoundButton { StatusBackButton {
id: btnBack id: btnBack
icon.name: "arrow-right"
icon.width: 20
icon.height: 16
icon.rotation: 180
visible: stack.currentGroup.showBackBtn visible: stack.currentGroup.showBackBtn
enabled: stack.currentGroup.isValid || stack.isLastGroup enabled: stack.currentGroup.isValid || stack.isLastGroup
onClicked: { onClicked: {

View File

@ -180,13 +180,9 @@ ModalPopup {
width: parent.width width: parent.width
height: btnNext.height height: btnNext.height
StatusRoundButton { StatusBackButton {
id: btnBack id: btnBack
anchors.left: parent.left anchors.left: parent.left
icon.name: "arrow-right"
icon.width: 20
icon.height: 16
icon.rotation: 180
visible: stack.currentGroup.showBackBtn visible: stack.currentGroup.showBackBtn
enabled: stack.currentGroup.isValid || stack.isLastGroup enabled: stack.currentGroup.isValid || stack.isLastGroup
onClicked: { onClicked: {

View File

@ -198,13 +198,9 @@ ModalPopup {
width: parent.width width: parent.width
height: btnNext.height height: btnNext.height
StatusRoundButton { StatusBackButton {
id: btnBack id: btnBack
anchors.left: parent.left anchors.left: parent.left
icon.name: "arrow-right"
icon.width: 20
icon.height: 16
icon.rotation: 180
visible: stack.currentGroup.showBackBtn visible: stack.currentGroup.showBackBtn
enabled: { enabled: {
stack.currentGroup.isValid || stack.isLastGroup stack.currentGroup.isValid || stack.isLastGroup