/
setWindowSize
setWindowSize
Description
Enables you to set the size of a docking window (or pane). You must specify either the -width
or -height
flag, or both, otherwise the command has no effect.
Note that sizing docked panes is not yet supported (only floating panes).
Functional area
Interface
Command syntax
Syntax
setWindowSize "windowName" [-width integer] [-height integer] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
windowName | string | true | The name of the docking window (or pane) to size |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
width | 1 | integer | — | The new width of the window, in pixels |
height | 1 | integer | — | The new height of the window, in pixels |
Return value
void
Examples
// This sets the width of the "Attributes" window to 200 pixels setWindowSize "Attributes" -width 200;
Additional information
Related commands
, multiple selections available,