mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Hide chat area when leaving.
This commit is contained in:
parent
c7f98896d0
commit
d68b0d32a2
2 changed files with 3 additions and 3 deletions
|
|
@ -380,6 +380,7 @@ Rectangle {
|
|||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: textAreaBorders.height + chatMessagePreview.height+messageBlock.height
|
||||
color: ChatStyle.sendArea.backgroundBorder.color
|
||||
visible: proxyModel.chatRoomModel && !proxyModel.chatRoomModel.isReadOnly && (!proxyModel.chatRoomModel.haveEncryption && SettingsModel.standardChatEnabled || proxyModel.chatRoomModel.haveEncryption && SettingsModel.secureChatEnabled)
|
||||
ColumnLayout{
|
||||
anchors.fill: parent
|
||||
spacing: 0
|
||||
|
|
@ -412,7 +413,6 @@ Rectangle {
|
|||
Layout.leftMargin: ChatStyle.sendArea.backgroundBorder.width
|
||||
borderColor: ChatStyle.sendArea.border.color
|
||||
topWidth: ChatStyle.sendArea.border.width
|
||||
visible: proxyModel.chatRoomModel && !proxyModel.chatRoomModel.isReadOnly && (!proxyModel.chatRoomModel.haveEncryption && SettingsModel.standardChatEnabled || proxyModel.chatRoomModel.haveEncryption && SettingsModel.secureChatEnabled)
|
||||
|
||||
DroppableTextArea {
|
||||
id: textArea
|
||||
|
|
@ -424,7 +424,7 @@ Rectangle {
|
|||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
height:ChatStyle.sendArea.height + ChatStyle.sendArea.border.width
|
||||
height: visible ? ChatStyle.sendArea.height + ChatStyle.sendArea.border.width : 0
|
||||
minimumHeight:ChatStyle.sendArea.height + ChatStyle.sendArea.border.width
|
||||
maximumHeight:container.height/2
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit e5c95eaed5a2113cbba1ab62e8baa826abe7609c
|
||||
Subproject commit 2cf715cb4615c8115aa0102738bc3f28c6302765
|
||||
Loading…
Add table
Reference in a new issue