[SailfishDevel] Enabling pushUpHint for ViewPlaceholder is not so trivial as it should

Andrey Kozhevnikov coderusinbox at gmail.com
Thu Aug 14 15:24:55 UTC 2014


Hello!

Can you please add pushUpHint property for ViewPlaceholder to control 
inner PulleyAnimationHint property?

I need to write following code to make it work:

         ViewPlaceholder {
             id: placeholder
             enabled: view.count == 0
             text: "No shortcuts selected"

             Component {
                 id: activeContent
                 PulleyAnimationHint {
                     flickable: placeholder.flickable
                     width: parent.width
                     height: width
                     anchors.centerIn: parent
                     pushUpHint: true
                 }
             }

             Component.onCompleted: {
                 placeholder._content = 
activeContent.createObject(placeholder)
             }
         }

Big regards and thanks :)


More information about the Devel mailing list