We have moved to a new Sailfish OS Forum. Please start new discussions there.

More colors in Silica color picker

asked 2014-01-22 02:22:29 +0300

javispedro gravatar image

updated 2014-01-22 12:57:26 +0300

foss4ever gravatar image

The current color picker available in Silica components has 3x5 colors only, yet it still manages to not fit entirely in the device's screen (thus, it is flickable vertically).

My proposal is to add more colors to it. Either by having more rows (the dialog is already flickable!) or by having a "custom color" option available. Maybe as a pulley menu at the bottom end of the dialog.

edit retag flag offensive close delete


i'd like the custom color option :)

mgbler ( 2014-05-17 13:17:13 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-05-17 00:14:26 +0300

kimmoli gravatar image

rather old question but... Is this plausible solution for this?


edit flag offensive delete publish link more


I think that this should work at least as a workaround for the time being :)

skvark ( 2014-05-20 00:34:13 +0300 )edit

Yes! Now time to replace the stock Silica compoonent :)

javispedro ( 2014-05-23 00:39:08 +0300 )edit

I implemented it like this;

property var myColors: [ "#ff0080", "#ff0000", "#ff8000", "#ffff00", "#00ff00",.....

var dialog = pageStack.push("Sailfish.Silica.ColorPickerDialog", { "colors": myColors })
kimmoli ( 2014-05-23 00:49:04 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2014-01-22 02:22:29 +0300

Seen: 357 times

Last updated: May 17 '14