/
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

NameTypeRequiredComments
windowNamestringtrueThe name of the docking window (or pane) to size

Flags

NameFlag argumentsArgument typeExclusive toComments
width1integerThe new width of the window, in pixels
height1integerThe 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