diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2012-06-27 14:33:18 +0200 |
---|---|---|
committer | Jens Bache-Wiig <jens.bache-wiig@nokia.com> | 2012-06-27 16:03:56 +0200 |
commit | 4181eaaf0126809816658d6ac0889246c274ee79 (patch) | |
tree | 87f5c310bb3e9a5e7ffe9014d82815216e47e9d1 | |
parent | f24670aedb472e18c29514ad6d6a0be28578c9e5 (diff) | |
download | qtquickcontrols-4181eaaf0126809816658d6ac0889246c274ee79.tar.gz |
Create proper binding for Splitter width
Change-Id: I96f70dbce3187f8821a6a7bd8ff50dd4c0fc6778
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
-rw-r--r-- | components/custom/Splitter.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/custom/Splitter.qml b/components/custom/Splitter.qml index 33e4319f..61c2d9f1 100644 --- a/components/custom/Splitter.qml +++ b/components/custom/Splitter.qml @@ -417,7 +417,7 @@ Splitter { d.updateLayout() // Restablish binding: - width = function() { return parent[d.size]; } + width = Qt.binding(function() { return parent[d.size]; }) d.itemWidthGuard = false } |