Phone API Reference - UI Classes (Widgets) - Widget (Base Class) - x/y

Phone API Reference - UI Classes (Widgets) - Widget (Base Class) - x/y

x/y

Description

Position of top left corner of the widget.

Basic Example: 

textWidgetObj.x = 20; //re-position the Text object by changing it's x property to 20 textWidgetObj.y = (textWidgetObj.y + 10); //add 10 to to current y value of the Text object.

Return to Documentation Home I Return to Sangoma Support