Le lundi 25 mai 2020 à 14:47 +0300, David Llewellyn-Jones a écrit :
> On 25/05/2020 14:31, Julien Blanc wrote:
> [snip]
> > 
> > Isn't there something smarter to do ? I can't find where the theme
> > image provider gets registered, but i suppose it would be a far
> > better
> > solution to just extend it somehow, and provide a search path for
> > the
> > app folder (the logic being the same).
> 
> Creating an ImageProvider as you've described, is the approach I've
> always used. This has always been my go-to reference for this:
> 
> https://sailfishdev.tumblr.com/post/87464226712/iconbutton-how-to-use-own-icons-with-highlight
> 
> Even though I agree it'd be good to have a simpler, more generic
> approach, as far as I'm aware there isn't one. I'd be happy to be
> proven wrong though.

Thanks for the link. This covers colorization, but unfortunately not
size selection. I’ll use this as a base, though.

Thanks everyone for your detailed answers.

Regards,

Julien

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

Reply via email to