Skip to content
Snippets Groups Projects
Commit c746d278 authored by Aline Gondim Santos's avatar Aline Gondim Santos Committed by Sébastien Blin
Browse files

misc: improve chatview banners layout

Change-Id: Id357fd3fd3db1ce6fca2e1b34f192ca8f056b19c
parent 88e945a8
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,7 @@ Rectangle { ...@@ -51,6 +51,7 @@ Rectangle {
Text { Text {
id: errorLabel id: errorLabel
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
text: CurrentConversation.errors.count > 0 ? CurrentConversation.errors[0][0] : "" text: CurrentConversation.errors.count > 0 ? CurrentConversation.errors[0][0] : ""
color: JamiTheme.filterBadgeTextColor color: JamiTheme.filterBadgeTextColor
......
...@@ -42,6 +42,7 @@ Rectangle { ...@@ -42,6 +42,7 @@ Rectangle {
Text { Text {
id: errorLabel id: errorLabel
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
text: CurrentAccount.enabled? JamiStrings.noNetworkConnectivity : JamiStrings.disabledAccount text: CurrentAccount.enabled? JamiStrings.noNetworkConnectivity : JamiStrings.disabledAccount
color: JamiTheme.filterBadgeTextColor color: JamiTheme.filterBadgeTextColor
......
...@@ -46,6 +46,7 @@ Rectangle { ...@@ -46,6 +46,7 @@ Rectangle {
Text { Text {
id: errorLabel id: errorLabel
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
Layout.margins: 0 Layout.margins: 0
text: JamiStrings.wantToJoin text: JamiStrings.wantToJoin
...@@ -54,10 +55,6 @@ Rectangle { ...@@ -54,10 +55,6 @@ Rectangle {
elide: Text.ElideRight elide: Text.ElideRight
} }
RowLayout {
id: controls
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
PushButton { PushButton {
id: joinCallInAudio id: joinCallInAudio
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
...@@ -75,7 +72,6 @@ Rectangle { ...@@ -75,7 +72,6 @@ Rectangle {
onClicked: MessagesAdapter.joinCall(uri, device, id, true) onClicked: MessagesAdapter.joinCall(uri, device, id, true)
} }
PushButton { PushButton {
id: joinCallInVideo id: joinCallInVideo
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
...@@ -106,7 +102,6 @@ Rectangle { ...@@ -106,7 +102,6 @@ Rectangle {
onClicked: ConversationsAdapter.ignoreActiveCall(CurrentConversation.id, id, uri, device) onClicked: ConversationsAdapter.ignoreActiveCall(CurrentConversation.id, id, uri, device)
} }
} }
}
Behavior on opacity { Behavior on opacity {
NumberAnimation { NumberAnimation {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment