Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.0 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda do Scilab >> IGU > Layouts > Layout

Layout

Description of the different layouts and constraints for uicontrols and figures.

Description

Layouts control how figures or frame uicontrols manage the positions and display of nested uicontrols. Layout options can be created/set using the createLayoutOptions function.

Properties

nolayout | none

No layout is applied, nested uicontrols do not have any constraint.

Nested uicontrols must be positionned manually and their size is fixed.

grid

A grid layout is applied to all nested uicontrols.

Nested uicontrols are positionned in a grid defined in layout_options from left to right and top to bottom.

See grid layout options for information on grid layouts.

border

A border layout is applied to all nested uicontrols.

Nested uicontrols are positionned on a border of the parent frame or in the center.

See border layout options for information on border layouts.

gridbag

A gridbag layout is applied to all nested uicontrols.

Nested uicontrols are positionned on a virtual grid as in the grid layout but can occupy several grid spaces, fill empty space horizontally or vertically.

The gridbag layout allows finer control over the uicontrol behaviour during resize.

see gridbag layout options for information on gridbag layouts.

Layout Constraints

Constraints define behaviour of a uicontrol inside a layout.

All nested elements in a layout must define its constraint attribute relative to their parent layout. Layouts are thus defined on the parent while constraints are defined on the children.

Constraints can be created/set using the createConstraints function.

See Also

Report an issue
<< Gridbag Layout Options Properties Layouts uitree >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Fri Apr 11 14:18:14 CEST 2014