See here
ttps://together.jolla.com/question/44103/how-to-remove-all-except-bottom-page-from-pagestack/#post-id-44117
-kimmo
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Hi,
can you upload your project to GitHub or something?
Maybe this could help us to help you :)
Regards,
Michael
Am 21.07.2016 09:59, schrieb occirol:
Hi ,
@Michael
Thanks, I've tried that but it complains that the mainPage is not in
the stack. So if the initialPage is set with mainPage, the
Hi ,
@Michael
Thanks, I've tried that but it complains that the mainPage is not in the
stack. So if the initialPage is set with mainPage, the mainPage is not
in the stack ?!? I thought it was.
Regards,
Fab
On 07/20/2016 09:52 PM, Michael Neufing wrote:
Hi Fab,
have you already tried to use
2016-07-21 9:41 GMT+02:00 Olavi Haapala :
> First time ever answering to these mail lists... so hope i'm not doing
> something wrong here :)
>
Maybe remove unneeded quoting next time :-)
P
___
SailfishOS.org Devel mailing list
To unsubscribe, please se
ript I can run on RPM's
> post-install to generate the right size icons from SVGs or large PNGs?
> Or should I just roll my own solution that packs in icons of different
> sizes and loads the closest match at runtime?
>
> --
> Osmo Salomaa
>
>
> ---
5:15 AM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] pageStack navigation
@Dylan
According to the doc, there is no function completeTransition for a PageStack
object.
@Oleg
I've something weird with your solution. Goal is reach but the MainPage is
empty, as if the app was never st
My fault it's called 'completeAnimation'
Dylan
Original Message --------
Subject: Re: [SailfishDevel] pageStack navigation
Local Time: 20 July 2016 9:15 PM
UTC Time: 20 July 2016 19:15
From: develo...@nordan.ch
To: devel@lists.sailfishos.org
@Dylan
According to the d
Hi Fab,
have you already tried to use the following?
pageStack.pop(mainPage)
This will remove all pages above the specified page (here: mainPage).
See [1] for more information.
Regards,
Michael.
[1]
https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-pagestack.
@Dylan
According to the doc, there is no function /completeTransition/ for a
PageStack object.
@Oleg
I've something weird with your solution. Goal is reach but the MainPage
is empty, as if the app was never started. :/
If I found a solution I'll let you know. If someone as an idea, welcome ;
Why not do the next:
pageStack.clear()
pageStack.push(MainPage)?
2016-07-20 19:36 GMT+03:00 Dylan Van Assche :
> Hi,
>
> You should add this:
>
> if(!pageStack.busy)
> {
> pageStack.pop()
> }
>
> This will prevent the issue but it will give you another bug: only one
> page will be popped.
>
> Yo
Hi,
You should add this:
if(!pageStack.busy)
{
pageStack.pop()
}
This will prevent the issue but it will give you another bug: only one page
will be popped.
You can fix it like this:
if(!pageStack.busy)
{
pageStack.pop()
pageStack.completeTransition() // This will pop the page directly.
}
11 matches
Mail list logo