From kde-commits Fri Feb 28 21:51:49 2014 From: Anton Kreuzkamp Date: Fri, 28 Feb 2014 21:51:49 +0000 To: kde-commits Subject: [qmlweb] src: Update Flow, when width changes. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=139362431907024 Git commit 618d782aba7fca31ccac07fbf12f160252061930 by Anton Kreuzkamp. Committed on 28/02/2014 at 21:11. Pushed by akreuzkamp into branch 'master'. Update Flow, when width changes. M +1 -0 src/qtcore.js http://commits.kde.org/qmlweb/618d782aba7fca31ccac07fbf12f160252061930 diff --git a/src/qtcore.js b/src/qtcore.js index c70aa86..eddc070 100644 --- a/src/qtcore.js +++ b/src/qtcore.js @@ -1848,6 +1848,7 @@ function QMLFlow(meta) { createSimpleProperty("enum", this, "layoutDirection"); this.flowChanged.connect(this, this.layoutChildren); this.layoutDirectionChanged.connect(this, this.layoutChildren); + this.widthChanged.connect(this, this.layoutChildren); = this.flow =3D 0; this.layoutDirection =3D 0;