Answer by lbt for How to position nested Items in a QML component?
Thanks to Sami I found the 'correct' solution is to use 2 concepts: the default property and the data property -...
View ArticleComment by lbt
Thanks - this is definitely along the right lines. I found a solution that looks even better :)
View ArticleAnswer by Sfiet_Konstantin for How to position nested Items in a QML component?
You do this by exporting the `children` property of `Column`. The code needs some tweaks, but here is the generic idea. If I have a container component (Container.qml) described as follow import...
View ArticleHow to position nested Items in a QML component?
Given MyPage.qml: import QtQuick 2.0 import Sailfish.Silica 1.0 Page { id: page Header { } Column { // child Items should go here } Footer { } } How can I do import QtQuick 2.0 import Sailfish.Silica...
View Article
More Pages to Explore .....