Bigger colorpicker windows

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
chrispazz
Posts: 81
Joined: Friday 08 July 2016 10:38
Target OS: -
Domoticz version:
Contact:

Bigger colorpicker windows

Post by chrispazz »

Hello, is it possibile to have a bigger colorpicker window?

When I use it on IPAD (with colorpicker:2) the frame is too little and it cannot detect my touches correctly (changing colortemp also changes dimmer).
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Bigger colorpicker windows

Post by whoami »

Hi Lokonli, is this already possible?
I have the same problem now with my dashboard, my fingers are to big to choose the right color.
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Bigger colorpicker windows

Post by whoami »

Can I resize this screen bij myself? Is that also in the je version?
Thanks.
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Bigger colorpicker windows

Post by whoami »

Is this already an option? The color picker is still very small.
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Bigger colorpicker windows

Post by whoami »

@lokonli, can you check if this is possible?
Or is there another solution?
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bigger colorpicker windows

Post by Lokonli »

Yes, it's possible, I'll add this to the next beta.
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bigger colorpicker windows

Post by Lokonli »

whoami wrote: Thursday 28 December 2023 19:31 @lokonli, can you check if this is possible?
Or is there another solution?
Can you try latest beta?

Add the following to CONFIG.js:

Code: Select all

config.colorpickerscale = 1.5
This will scale the type-2 colorpicker popup window to 150% of it's original size.

You can also set colorpickerscale as block parameter.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bigger colorpicker windows

Post by HansieNL »

Added this option to the general settings screen. Available with latest beta.
Blah blah blah
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Bigger colorpicker windows

Post by whoami »

Lokonli wrote: Friday 29 December 2023 10:08
whoami wrote: Thursday 28 December 2023 19:31 @lokonli, can you check if this is possible?
Or is there another solution?
Can you try latest beta?

Add the following to CONFIG.js:

Code: Select all

config.colorpickerscale = 1.5
This will scale the type-2 colorpicker popup window to 150% of it's original size.

You can also set colorpickerscale as block parameter.
Yes it worked perfectly! Thanks.
Is it also possible to show the colorpicker always and not only when you tick the small dropdown menu? But just when you touch the button it opens direct the colorpicker? Also I dont get a colorpicker with dials, see my other post.
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Bigger colorpicker windows

Post by Lokonli »

For a dial you have to set the switchMode to 'color', like:

Code: Select all

blocks['rgb dial'] = {
    idx: 14,
    type: 'dial',
    switchMode: 'color',
}
Did you try this already?

This will also on a regular block (latest beta only)
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Bigger colorpicker windows

Post by whoami »

Lokonli wrote: Wednesday 03 January 2024 20:06 For a dial you have to set the switchMode to 'color', like:

Code: Select all

blocks['rgb dial'] = {
    idx: 14,
    type: 'dial',
    switchMode: 'color',
}
Did you try this already?

This will also on a regular block (latest beta only)
Yes installing latest beta made it work!
Is there also a time-out possible for the color picker? Now it doesn’t disappear automatically
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Bigger colorpicker windows

Post by whoami »

Lokonli wrote: Wednesday 03 January 2024 20:06 For a dial you have to set the switchMode to 'color', like:

Code: Select all

blocks['rgb dial'] = {
    idx: 14,
    type: 'dial',
    switchMode: 'color',
}
Did you try this already?

This will also on a regular block (latest beta only)
The color picker stays in the screen even when dashticz is going back to screen 1 after the time out.
I have to click somewhere else on the screen to get the color picker away.
Can I set an autoclose timer on the color picker?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest