The size of your Canvas screen (or object) that will be presented in run mode is configurable in design mode. Modify the Height and Width values in the Properties pane to change the screen size. A cyan-colored border delimits the boundaries of the screen and all controls are limited by those boundaries.
You can set the screen size at run-time via script.
See Design Mode Elements for more information about screen elements.
When creating Canvas screens that will be resized in run mode, the Height and Width properties of the screen and the Resize Mode properties of the individual controls on each screen must be considered.
The properties involved with resizing are listed in the table below.
| Control | Properties | Description |
|---|---|---|
|
Screen and Canvas Object |
||
|
Height |
The Height property specifies the height of the control. |
|
|
|
Width |
The Width property specifies the width of the control. |
|
All other controls |
||
|
Height |
The Height property specifies the height of the control (or screen). Tip: You can also change the height of a control using the Settings pane (click on the |
|
|
Horizontal resize mode |
The Horizontal resize mode property specifies whether and how the control dynamically moves or resizes horizontally when the screen is resized in run mode. Options include:
The default value is None. |
|
|
|
Vertical resize mode |
The Vertical resize mode property specifies whether and how the control dynamically moves or resizes vertically when the screen is resized in run mode. Options include:
The default value is None. |
|
|
Width |
The Width property specifies the width of the control (or screen). Tip: You can also change the width of a control using the Settings pane (click on the |