[SailfishDevel] How to show toast notification?

szopin at gmail.com szopin at gmail.com
Tue Mar 3 12:37:37 UTC 2020


Whoops, seen it in quickddit and assumed it was silica, but it is actually custom made:
https://github.com/accumulator/Quickddit/blob/master/sailfish/qml/InfoBanner.qml
If your app is gpl you can just borrow it I guess, seems to work well enough.

Regards,
szopin

On Tuesday, 3 March 2020, Tamas Miklos wrote:
> Hi Guys,
> 
> Thank you for your help and pointers.  My confusion was due to the fact that I couldn't place the DockedPanel into the right place after getting lost in the QML's I've got in my app :)
> 
> AFAIK infoBanner is not supported by SFOS, but I've managed to come up with a similar solution using a DockedPanel put inside my ApplicationWindow.  The only problem is that when it slides above the main window content, the opacity makes the alert text (Label) get mixed up with the text under it.  I suppose I either need to put something under the Label in my DockedPanel, or adjust the opacity of the DockedPanel to a higher value.
> 
> Regards,
> Tamas
> 
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.or

-- 
Sent from my Jolla


More information about the Devel mailing list