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,23 +171,13 @@ 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
StatusButton {
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.topMargin: Style.current.halfPadding
id: submitBtn id: submitBtn
state: loading ? "pending" : "default" state: loading ? "pending" : "default"
text: qsTr("Start chat") text: qsTr("Start chat")
enabled: pubKey !== "" enabled: pubKey !== ""
onClicked : doJoin() onClicked : doJoin()
}
} }
} }