Re: [SailfishDevel] QML IconButton in SFOS 3.1

2019-08-14 Thread Rinigus
Thank you for suggestion! On my install, I get black icons ok, but the white on black background get to black on black. Whether its 0s or Fs. Rinigus On Wednesday, 14 August 2019, Slava Monich wrote: > Apparently properties of type color don't want to be undefined (now I > don't understand why

Re: [SailfishDevel] QML IconButton in SFOS 3.1

2019-08-14 Thread Slava Monich
Apparently properties of type color don't want to be undefined (now I don't understand why I'm not getting the warning)  - have you tried something like "#" instead of undefined? -S. Hi Slava, my code, corresponding snippet:             IconButton {                 id: image        

Re: [SailfishDevel] QML IconButton in SFOS 3.1

2019-08-14 Thread rinigus
Hi Slava, my code, corresponding snippet: IconButton { id: image anchors.centerIn: parent down: pressed || parent.pressed icon.opacity: iconOpacity icon.source: iconName || iconSource icon.

Re: [SailfishDevel] QML IconButton in SFOS 3.1

2019-08-14 Thread Slava Monich
Hi Rinigus, AFAICT icon.color appeared in 3.1 and it wasn't there before. This piece of QML seems to work for me without any warnings on both 2.0.1.7 (no icon.color) and 3.1.1.xxx (latest devel, has icon.color):     IconButton {     icon.source: "image://theme/icon-m-refresh"     Comp