[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [qmlweb] src: Update Flow, when width changes.
From:       Anton Kreuzkamp <akreuzkamp () web ! de>
Date:       2014-02-28 21:51:49
Message-ID: E1WJVLR-0007mI-2d () scm ! kde ! org
[Download RAW message or body]

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 = 0;
     this.layoutDirection = 0;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic