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 {
anchors.horizontalCenter: parent.horizontalCenter
title: qsTr("Leave community")
icon.name: "arrow-right"
icon.height: 16
icon.width: 20
icon.rotation: 180
icon.name: "arrow-left"
type: StatusListItem.Type.Danger
sensor.onClicked: root.leaveButtonClicked()
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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