[SailfishDevel] SilicaFlickable, Column, SilicaListView
Віталій Коренєв
nemish94 at gmail.com
Sat May 23 16:57:16 UTC 2015
I'm just starting to learn qml, and there are many questions.
I have
XmlListModel {
id: listModel
query: "/ colors / color"
XmlRole {name: "id"; query: "id / string ()"}
XmlRole {name: "title"; query: "title / string ()"}
...
}
SilicaFlickable {
anchors.fill: parent
Column
{
width: parent.width; height: parent.height
id: mainContainer
SilicaListView
{
width: parent.width; height: parent.height
id: list
model: listModel
delegate: BackgroundItem {
width: parent.width; height: 120
Image {
source: imageUrl
anchors.fill: parent
}
Label {text: title}
}
VerticalScrollDecorator {}
}
}
}
How can I add other elements (buttons, labels ...) after all elements of
SilicaListView, if its height: parent.height. If you remove line height:
parent.height for SilicaListView, it is not displayed. There have been
attempts to add other elements before VerticalScrollDecorator {} and other
places (experimenting with anchors), but the added elements were in the
upper left corner of the screen or on the last 10 points of the screen
(under SilicaListView).
Sorry for my English.
PS. This is the only way to get or give help when working with qml + Silica?
No forum for developers Sailfish?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150523/305f2e12/attachment.html>
More information about the Devel
mailing list