mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 03:53:23 +02:00
misc: improve chatview banners layout
Change-Id: Id357fd3fd3db1ce6fca2e1b34f192ca8f056b19c
This commit is contained in:
parent
88e945a856
commit
c746d2786b
3 changed files with 44 additions and 47 deletions
|
@ -51,6 +51,7 @@ Rectangle {
|
|||
|
||||
Text {
|
||||
id: errorLabel
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: CurrentConversation.errors.count > 0 ? CurrentConversation.errors[0][0] : ""
|
||||
color: JamiTheme.filterBadgeTextColor
|
||||
|
|
|
@ -42,6 +42,7 @@ Rectangle {
|
|||
|
||||
Text {
|
||||
id: errorLabel
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: CurrentAccount.enabled? JamiStrings.noNetworkConnectivity : JamiStrings.disabledAccount
|
||||
color: JamiTheme.filterBadgeTextColor
|
||||
|
|
|
@ -46,6 +46,7 @@ Rectangle {
|
|||
|
||||
Text {
|
||||
id: errorLabel
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
Layout.margins: 0
|
||||
text: JamiStrings.wantToJoin
|
||||
|
@ -54,10 +55,6 @@ Rectangle {
|
|||
elide: Text.ElideRight
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
id: controls
|
||||
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
|
||||
|
||||
PushButton {
|
||||
id: joinCallInAudio
|
||||
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
|
||||
|
@ -75,7 +72,6 @@ Rectangle {
|
|||
onClicked: MessagesAdapter.joinCall(uri, device, id, true)
|
||||
}
|
||||
|
||||
|
||||
PushButton {
|
||||
id: joinCallInVideo
|
||||
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
|
||||
|
@ -106,7 +102,6 @@ Rectangle {
|
|||
onClicked: ConversationsAdapter.ignoreActiveCall(CurrentConversation.id, id, uri, device)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
|
|
Loading…
Add table
Reference in a new issue