adjust height & width of an own created widget

Post your questions and help other users.

Moderator: Martin

Post Reply
xxx
Posts: 39
Joined: 18 Mar 2013 18:51

adjust height & width of an own created widget

Post by xxx » 20 May 2013 09:18

Hi,

I want to adjust the height & width of an own created widget using the function setWidgetElementProperty.

Syntax:
setWidgetElementProperty(widgetName,elementName,property,value)

What is the elementName in this case?

In addition - How can I adjust the clickable actions via script. Do I have to use the same function? If so, what is the elementName in this case?

Is there a general documentation of this function?

Thanks.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: adjust height & width of an own created widget

Post by Martin » 22 May 2013 19:46

Hi,

The width and height of the widget and the clickable actions can not be changed from a script. You could use an action "Execute Flows" to execute a flow that can change its behavior depending on some variables/conditions.
You can use the "Insert Function" button in a script and select the "setWidgetElementProperty" function from the popup menu. A dialog lists all available widgets, elements and properties that can be modified from the script.

Regards,
Martin

Post Reply