<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi,</div>
<div> </div>
<div>I’m using IconButton component as the highlight is just what I would like to use to show that corresponding function is active.</div>
<div> </div>
<div>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?</div>
<div> </div>
<div>This works nicely with stock-icons, e.g.</div>
<div><font color="purple">IconButton<font color="silver"> </font><font color="black">{</font></font></div>
<div><font color="maroon"> icon.source<font color="black">:</font><font color="silver"> </font><font color="green">"image://theme/icon-m-edit"</font></font></div>
<div><font color="maroon"> highlighted<font color="black">: daa</font></font></div>
<div> </div>
<div>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:</div>
<div><font color="purple">IconButton<font color="silver"> </font><font color="black">{</font></font></div>
<div><font color="maroon"> icon.source<font color="black">:</font><font color="silver"> </font><font color="green">“</font><font color="green">../icons/icon-m-</font><font color="green">edit</font><font color="green">.png"</font></font></div>
<div><font color="maroon"> highlighted<font color="black">: daa</font></font></div>
<div> </div>
<div>making this into resource does not work either</div>
<div> </div>
<div><font color="purple">IconButton<font color="silver"> </font><font color="black">{</font></font></div>
<div><font color="maroon"> icon.source<font color="black">:</font><font color="silver"> </font><font color="green">"qrc:///icons/icon-m-e</font><font color="green">dit</font><font color="green">"</font></font></div>
<div><font color="maroon"> highlighted<font color="black">: daa</font></font></div>
<div> </div>
<div>-kimmo</div>
<div> </div>
</span></font>
</body>
</html>