Phone API Reference - UI Classes (Widgets) - Widget (Base Class) - w/h

Phone API Reference - UI Classes (Widgets) - Widget (Base Class) - w/h

w/h

Description

Width/height of the widget.

Basic Example: 

textWidgetObj.h = (Text.LINE_HEIGHT * 2); //change the height of the Text object to 2x Line Height. textWidgetObj.w = (textWidgetObj.w + 10); //add 10 to to current width of the Text object.

 

Return to Documentation Home I Return to Sangoma Support