[SailfishDevel] Infinite (?) PushUpMenu

Andrey Kozhevnikov coderusinbox at gmail.com
Mon Feb 16 12:48:34 UTC 2015


Hello,

If using SilicaFlickable just to use pulley menus you need to use 
contentHeight: height

15.02.2015 23:52, Antonio Mancini пишет:
> Hi, i have a simple PushUpMenu in my app and it behaves strangely, i 
> can push even if there are no more items. This is a screenshot: 
> https://www.dropbox.com/s/2z0owyi5m6rhuua/Screenshot-15-02-15-19-41-30.png?dl=0 
>
>
> My page is structured like this:
>
> Page  {
>     id:page
> //SilicaFlickable{
> id:root
>       PushUpMenu  {
>
>              id:pushUpMenu
>
>              MenuItem  {
>
>                  id:  pauseMenuItem
>
>                  text:  qsTr("Unpause")
>
>                  onClicked:  functions.pause()
>
>              }
>
>              MenuItem  {
>
>                  id:saveMenuItem
>
>                  text:  qsTr("Save  Game")
>
>                  onClicked:  functions.saveGame()
>
>              }
>                   }
>      }
> }
> Can someone help me?
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150216/95398b46/attachment.html>


More information about the Devel mailing list