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 {
anchors.bottom: parent.bottom
anchors.top: parent.top
footer: StatusButton {
anchors.right: parent.right
anchors.left: parent.left
StatusButton {
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.topMargin: Style.current.halfPadding
id: submitBtn
state: loading ? "pending" : "default"
text: qsTr("Start chat")
enabled: pubKey !== ""
onClicked : doJoin()
}
}
id: submitBtn
state: loading ? "pending" : "default"
text: qsTr("Start chat")
enabled: pubKey !== ""
onClicked : doJoin()
}
}
/*##^##