Prevent Crash on Resize

This commit is contained in:
Sarah Jamie Lewis 2019-02-05 11:53:58 -08:00
parent 1200714005
commit 676ca69481
1 changed files with 0 additions and 7 deletions

View File

@ -12,13 +12,11 @@ import "../utils.js" as Utils
ColumnLayout {
Layout.fillWidth: true
Flickable { // THE MESSAGE LIST ITSELF
id: sv
clip: true
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.fillHeight: true
Layout.maximumWidth: parent.width
Layout.fillWidth: true
contentWidth: colMessages.width
contentHeight: colMessages.height
@ -104,9 +102,6 @@ ColumnLayout {
Flickable {
id: flkMessage
anchors.fill: parent//this does nothing! bug in qt
Layout.minimumWidth: parent.width
Layout.maximumWidth: parent.width
Layout.minimumHeight: rectMessage.height
Layout.maximumHeight: rectMessage.height
contentWidth: txtMessage.width
@ -125,8 +120,6 @@ ColumnLayout {
padding: 6
wrapMode: TextEdit.Wrap
textFormat: Text.RichText
width: rectMessage.width
//height: parent.height
property bool skipOneUpdate: false