Page 1 of 1

Widget usability

Posted: 11 Oct 2013 08:59
by TheBrain1984
First of all, it's great to have the option to use a widget. I use one as a kind of GUI to toggle some of my "switches". It's also great that you can use variables in the text-items.
What I'm missing in the current version is, that you can change the text color (or any other object color) on dependency to a value of variable. Like if global_foo == 1 then the text color is green else it's red.
It would also be nice, when you can choose the Area where a clickable event is, or if I press a item (for example a circle-item) that an event will start. At the moment, I have to make an item that is exactly on the position of the clickable area that it seems to look like that the item is the button.

Re: Widget usability

Posted: 11 Oct 2013 09:30
by Martin
Hi,

You can already modify most properties of widget elements using action Script with function setWidgetElementProperty:
The widget tutorial describes this in the Tips section at the end: Widget Tutorial

It's unlikely that I will allow custom positions for the clickable areas since I have not found a way to make this reliably work on different launchers with different cell sizes.

Regards,
Martin

Re: Widget usability

Posted: 11 Oct 2013 14:40
by TheBrain1984
Hi Martin,

thanks, I didn't find that you can already modify the settings of an item via script.

For the clickable events: Maybe you can add an option to any item (like a circle, etc.) that it is clickable. I don't know how difficult it would be, but I think if you can show a item in the right size, that you can also make it clickable?

Regards,
Manuel