fix(Popups): Some modals are misaligned in master

Closes #6002
This commit is contained in:
Alexandra Betouni 2022-06-06 18:42:12 +03:00 committed by Iuri Matias
parent 1d86a963ab
commit a9dabe5df9
2 changed files with 131 additions and 125 deletions

View File

@ -46,8 +46,10 @@ StatusModal {
}
}
contentItem: Column {
width: popup.width
contentItem: Item {
Column {
id: contentItem
anchors.horizontalCenter: parent.horizontalCenter
property alias searchBox: searchBox
Item {
@ -57,6 +59,7 @@ StatusModal {
StatusInput {
id: searchBox
anchors.horizontalCenter: parent.horizontalCenter
input.placeholderText: qsTr("Search for communities or topics")
input.icon.name: "search"
}
@ -139,6 +142,7 @@ StatusModal {
}
}
}
}
rightButtons: [
StatusButton {

View File

@ -80,9 +80,10 @@ StatusModal {
}
}
contentItem: Column {
contentItem: Item {
Column {
id: content
width: root.width
anchors.horizontalCenter: parent.horizontalCenter
spacing: d.contentSpacing
StatusInput {
@ -134,6 +135,7 @@ StatusModal {
validationMode: StatusInput.ValidationMode.Always
}
}
}
rightButtons: [
StatusButton {