setWidth()
Set the object's width.
button.setWidth(width)
Parameters
button.setWidth(width)
| Parameter | Type | Default | Description |
|---|---|---|---|
width |
int or float |
required | The new width, in pixels. |
Set the object's width.
button.setWidth(width)
button.setWidth(width)
| Parameter | Type | Default | Description |
|---|---|---|---|
width |
int or float |
required | The new width, in pixels. |