Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語

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

Справка Scilab >> GUI > 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

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 14:01:08 CEST 2014