Dimensions and Resizing

The Window enables you to set its initial width and height, and change its dimensions by dragging the resize handles.

Dimensions

To define the dimensions of the Window, use its initialWidth and initialHeight properties.

Example
View Source
Change Theme:

Resizing

By default, the Window enables you to resize it by dragging its edges (resize handles). To control this behavior, use the resizable prop.

You can also control the minimum allowed dimensions of the Window by using the minWidth and minHeight props.

Example
View Source
Change Theme:

In this article

Not finding the help you need?