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
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
Hi Slava,
my code, corresponding snippet:
IconButton {
id: image
anchors.centerIn: parent
down: pressed || parent.pressed
icon.opacity: iconOpacity
icon.source: iconName || iconSource
icon.
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
Hi,
it would be good to get some kind of official position on QML IconButton
issue. Is it considered for fixing or it will stay as it is? Slava's
suggestion didn't work since color member is available on older versions of
SFOS as well.
Rinigus
On Wed, Aug 7, 2019 at 2:29 PM rinigus wrote:
> Hi
Hi,
any ideas on how to fix this IconButton issue? Is there a way to query SFOS
version and make an ugly fix on the basis of that...
Cheers,
Rinigus
On Sat, Aug 3, 2019 at 6:06 PM rinigus wrote:
> Slava,
>
> unfortunately, it doesn't work. IconButton property icon has color
> subpropery defin
Slava,
unfortunately, it doesn't work. IconButton property icon has color
subpropery defined in earlier SFOS versions as well. So,
IconButton {
id: image
[...]
Component.onCompleted: {
if ("color" in image.icon)
I don't think there's an "official" way of maintaining backward
compatibility but I'd humbly suggest something like if ("color" in icon) ...
e.g. I do this kind of thing to notifications:
Notification {
id: clipboardNotification
previewBody: "Copied to clipboard"
Com
Hi,
due to the changes in handling of icon coloring of IconButton in SFOS 3.1,
I am getting a steady stream of EA users complaining about the absence of
icons in Pure Maps - as in
http://talk.maemo.org/showpost.php?p=1558483&postcount=773 . The issue has
been described well in
https://together.jol