[SailfishDevel] How to make cover display the firstPage scaled

Riku Lahtinen rikul.lajolla at kiu.as
Sat Dec 3 20:25:15 UTC 2016


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-bounces at lists.sailfishos.org] *On Behalf Of 
> *joao morgado
> *Sent:* 2. joulukuuta 2016 4:05
> *To:* devel at 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-unsubscribe at lists.sailfishos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20161203/9b9a98ff/attachment.html>


More information about the Devel mailing list