Search.../

stretched

Sets or gets whether the button is stretched to the full width of the panel.

Type:

booleanRead & Write

Was this helpful?

Get whether a button is full width

Copy Code
1let isFullWidth = $w("#myButton").stretched; // true
Set a button to be full width

Copy Code
1$w("#myButton").stretched = true;