fix(@desktop/chat): Last message in chat is hidden under the chat box
Reduced the gap between list view and ChatBox as per design. Added logic to scroll to the end of list on the component.onCompleted fixes #3514
This commit is contained in:
parent
d6d4ae5c79
commit
75f00e5de0
|
@ -31,7 +31,6 @@ Item {
|
||||||
ListView {
|
ListView {
|
||||||
id: chatLogView
|
id: chatLogView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.bottomMargin: Style.current.bigPadding
|
|
||||||
spacing: appSettings.useCompactMode ? 0 : 4
|
spacing: appSettings.useCompactMode ? 0 : 4
|
||||||
boundsBehavior: Flickable.StopAtBounds
|
boundsBehavior: Flickable.StopAtBounds
|
||||||
clip: true
|
clip: true
|
||||||
|
@ -245,6 +244,8 @@ Item {
|
||||||
model: messageListDelegate
|
model: messageListDelegate
|
||||||
section.property: "sectionIdentifier"
|
section.property: "sectionIdentifier"
|
||||||
section.criteria: ViewSection.FullString
|
section.criteria: ViewSection.FullString
|
||||||
|
|
||||||
|
Component.onCompleted: scrollToBottom(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageDialog {
|
MessageDialog {
|
||||||
|
|
Loading…
Reference in New Issue