View Single Post
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#5
Originally Posted by elros34 View Post
I use something like that in my apps:
Code:
import QtQuick 2.0
import Sailfish.Silica 1.0

Page {
    id: page

    SilicaFlickable {
        anchors.fill: parent
        contentHeight: column.height

        PullDownMenu {
        }
        Column {
            id: column
            width: page.width

            PageHeader {
                id: pageHeader
                title: qsTr("UI Template")
            }
            SilicaListView {
                id: listView
                width: parent.width
                height: page.height - pageHeader.height

                clip: true

                model: 40

                delegate: BackgroundItem {
                    Label {
                        text: index
                        font.pixelSize: Theme.fontSizeMedium
                        anchors.verticalCenter: parent.verticalCenter
                    }
                }
            }
        }
    }
}
Okay, I pasted that into my page and yes, fixed header with list view, exactly what I'm after, now to try an adapt the existing to the new, thanks elros34, the foggy veil has lifted a little!
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..