[suggestion] Add new cover icon

asked 2018-06-01 00:43:27 +0300

Direc gravatar image

I am currently contributing to CountMe, which is a basic counter application. There is a cover icon suitable for increasing the counter by one, icon-cover-new, but no icon suitable for decreasing. I downloaded the icon from documentation and quickly edited it to resemble a minus symbol. I tried hard to use it, but it seems that custom images are not usable in this context. Could you consider including this icon for future use? Thank you.

icon-cover-minus.svg.zip

edit retag flag offensive close delete

Comments

I assume you converted the new image to PNG format?

Spam Hunter ( 2018-06-01 01:27:23 +0300 )edit

The image I downloaded was in SVG format, so I used the same format. It can of course be a web site mockup image, but hey, it's now available :)

Direc ( 2018-06-01 01:30:31 +0300 )edit

Like this?

image description

Easy enough to achieve :)

Here's my icon-cover-minus icon; https://www.dropbox.com/s/geyxksngrzlll4i/icon-cover-minus.rar?dl=0 - extract it to /usr/share/themes/sailfish-default/meegotouch/z1.0/icons

Then add this text to CoverPage.qml

        CoverAction {
            iconSource: "image://theme/icon-cover-minus"
            onTriggered: {
                mainPage.count_sign === "+" ? mainPage.count -= 1 : mainPage.count += 1
            }
        }

I doubt that Jolla will make a new icon specifically, but we can live in hope I suppose ;)

Spam Hunter ( 2018-06-01 01:58:04 +0300 )edit
1

Well, I don't think an app can be published to Jolla Store doing that, but thanks for the tip.

Direc ( 2018-06-01 02:10:26 +0300 )edit

ahh, yeah, sorry, wasn't considering what harbour will/will not allow.

Spam Hunter ( 2018-06-01 10:46:51 +0300 )edit