Page 1 of 1

adjust height & width of an own created widget

Posted: 20 May 2013 09:18
by xxx
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.

Re: adjust height & width of an own created widget

Posted: 22 May 2013 19:46
by Martin
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