[SailfishDevel] IconButtin and highlight with own icons
Kimmo Lindholm
Kimmo.Lindholm at eke.fi
Sat May 31 17:47:00 UTC 2014
Hi,
I'm using IconButton component as the highlight is just what I would like to use to show that corresponding function is active.
But I can't use it with my own icons. They need to me from image://theme to work, or am I doing something wrong here?
This works nicely with stock-icons, e.g.
IconButton {
icon.source: "image://theme/icon-m-edit"
highlighted: daa
but if I use my own icon, or that very same icon copied to my app local directory, the highlight does not work anymore. e.g. this does not highlight:
IconButton {
icon.source: "../icons/icon-m-edit.png"
highlighted: daa
making this into resource does not work either
IconButton {
icon.source: "qrc:///icons/icon-m-edit"
highlighted: daa
-kimmo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140531/335e3764/attachment.html>
More information about the Devel
mailing list