Thanks for an answer, works perfectly!

If you want to have e.g. cover actions on the top of the background view in cover it seems to be a little bit more complicated. One example of that seems to be in the app sailfish-maps. The example code can be explored in the folder /usr/share/sailfish-maps/cover.

Best regards Riku


02.12.2016, 10:50, Kimmo Lindholm kirjoitti:

cover: null

*From:*Devel [mailto:devel-boun...@lists.sailfishos.org] *On Behalf Of *joao morgado
*Sent:* 2. joulukuuta 2016 4:05
*To:* devel@lists.sailfishos.org
*Subject:* [SailfishDevel] How to make cover display the firstPage scaled

Hi sailors

My app UI is very simple, basically is just a timer clock, so the cover should look the same but scaled to fit Cover's size.

Afaik, android apps have the same behaviour, the cover is just a scaled down display of the app fullscrean display.

The following code works but doenst scale the content:

initialPage:Component{FirstPage{}}
cover:/initialPage///Qt.resolvedUrl("cover/CoverPage.qml")
So any ideias how to solve this ?
Thanks
João


_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to