Next Previous Up Top Contents Index

7.3 DUIM-Layouts Module

vertically

Statement macro

Summary

Lays out a series of gadgets vertically.

Macro call

vertically ([options]) {panes}+ end

Arguments

options
Dylan argumentsbnf.

panes
One or more occurrences of Dylan bodybnf.

Values

None.

Library

duim-layouts

Module

duim-layouts

Description

This macro lays a series of gadgets out vertically, creating the necessary column layout for you automatically.

The options are passed directly to the column layout, and thus can be any legitimate combinations of init-keywords for <column-layout>. If no options are specified, then the default values for table layout are used.

The panes argument consists of a number of Dylan expressions, each of which creates an instance of a gadget or layout that is to be included in the vertical layout.

Example

contain(vertically (border: 5, equalize-widths: #t) 
            make(<button>, label: "Hello");
            make(<button>, label: "World") 
        end);

See also

<column-layout>, page 456

horizontally, page 467

tabling, page 498


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index