WidgetWidthProperty

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the width of <mWidget>
Associationscom.livecode.widget
Summary

Manipulates the height property of a child widget

Parameters
NameTypeDescription
mWidget

The child widget object

Example
private variable mChild as Widget

public handler OnCreate() returns nothing
    put a new widget "com.livecode.widget.button" into mChild
    place mChild
end handler

public handler OnGeometryChanged() returns nothing
    -- ensure child widget remains half the width of the parent
    set the width of mChild to my width / 2
end handler
Description

Use the width property to set the width of a child widget.

Tagswidget