View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1
Hi,

I'm playing around with Sailfish Silica. Column is a sub-optimal solution in my case, simple anchoring would be the best here. That's my code:

Code:
import QtQuick 2.0
import Sailfish.Silica 1.0
import Sailfish.Silica.theme 1.0

Page {
    id: page
    SilicaFlickable
    {
        anchors.fill: parent
        PullDownMenu
        {
            /**/
        }
        contentHeight: childrenRect.height
        
        width: page.width
        PageHeader {  title: "blah"  }

        /**/
 
        TextField
        {
            text: "test2"
            anchors.bottom: parent.bottom
        }
    }
}
But the TextField isn't anchored to the bottom of the page (the bottom of the screen) but to the bottom of the pull menu.

What am I doing wrong?
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here