fix: component layout

This commit is contained in:
hydrogen 2020-11-16 22:56:10 +02:00 committed by Pascal Precht
parent df9ac80eb9
commit ae5ad63410
1 changed files with 7 additions and 17 deletions

View File

@ -171,24 +171,14 @@ ModalPopup {
} }
} }
footer: Item { footer: StatusButton {
anchors.bottom: parent.bottom
anchors.top: parent.top
anchors.right: parent.right anchors.right: parent.right
anchors.left: parent.left id: submitBtn
state: loading ? "pending" : "default"
StatusButton { text: qsTr("Start chat")
anchors.right: parent.right enabled: pubKey !== ""
anchors.bottom: parent.bottom onClicked : doJoin()
anchors.topMargin: Style.current.halfPadding }
id: submitBtn
state: loading ? "pending" : "default"
text: qsTr("Start chat")
enabled: pubKey !== ""
onClicked : doJoin()
}
}
} }
/*##^## /*##^##