Layout

The layout view is the 2D form layout tool used to arrange the form elements visually, just as any 2D drawing application does with drawing objects on a drawing area. The layout view provides additional geometrical shapes to segment and decorate the form and its elements.

Shown below is the layout view of the job application form with a selected submit button object.

Layout view of the job application form

Overview

The form layout tool consists of a toolbar, a drawing area, and rulers with buttons. The grid units correspond to the height of controls. The initial height of labels is 1 unit. The zoom depends on the window size. Shapes are entered by drag-and-drop from the toolbar.

The overview to the layout view

Shapes
The rectangle shape Rectangle
The round-corners rectangle shape Round-corners rectangle
The round-corners rectangle shape, different radius sizes Round-corners rectangle, different radius sizes
The oval shape Oval
The image shape Image
Buttons
The zoom mode button Toggles the full height/width view mode.
The horizontal-resize button Decreases/increases the page width
by 0.1 units (shift-key pressed: 1 unit).
The vertical-resize button Decreases/increases the page height
by 0.1 units (shift-key pressed: 1 unit).

Selection is performed by clicking one or more (with the shift-key pressed) object(s). Alternatively, a lasso rectangle can be dragged around the object(s) to be selected.

Resizing is done by dragging resize handles (white-background rectangles).

A right-mouse-click on an object or a selection opens the context menu. A double-click opens the properties dialog.

Shapes

The available shapes with their context menu and properties dialog are presented below. Shapes can be cloned, deleted, or moved in their z-order. Roundness of round-corners rectangles is changed by dragging roundness handles (black circles). The properties dialog allows to specify border and background properties, i.e. style, color, and opacity.

All available shapes
The properties dialog for shapes

Shapes are turned into <div> in the HTML form by the code generator.

Labels

The label height is resizable. Labels have font family, alignment, and text color properties. The alignment is indicated by the horizontal positions of the resize handles. The properties dialog allows to specify font family, border, and background properties, i.e. font family, horizontal alignment, style, color, and opacity.

The font family property prefers Lucida Sans Unicode and, if installed on your machine, Arial and Verdana, and supplies them with CSS font stacks. The other font families on your machine are made available, but not supported with font stacks. The CSS font stacks combine width-compatible physical font families and provide sans-serif as fallback.

font-family:'Lucida Sans Unicode','DejaVu Sans',Verdana,sans-serif;
font-family:Arial,'Helvetica Neue',Helvetica,'Nimbus Sans L','Droid Sans',sans-serif;
font-family:Verdana,Geneva,'DejaVu Sans','Lucida Sans Unicode','Liberation Sans',sans-serif;

Left-aligned label, resize handles on the left.
Label properties
The properties dialog for labels
Center-aligned label, resize handles centered.
Label properties
Right-aligned label, resize handles on the right.
The properties dialog for labels

Left- and right-aligned labels supply the CSS border and background properties if border or background have been enabled in the label's properties dialog. Roundness and text margin can be changed by dragging padding and roundness handles (black circles).

A label with default size.
Labels with border and background
A label with padding.
The properties dialog used
                              to specify border and background
A label with round-corners background.
Labels with border and background
A label with padding and round border.
The properties dialog used
                              to specify border and background

A label represents <div>phrasing content</div> in the HTML form.

Custom Look&Feel

Currently, buttons can have a custom look with custom caption, border, and background properties. The border roundness is changed by dragging the roundness tracker (black full circle). The code generator creates a <div> with the specified border, border roundness, and background as bottom button layer. The button element itself is rendered as top layer with the specified caption colour, but with transparent border (border-color:rgba(…,0)) and background (background:none).

Custem look and feel for controls
The properties dialog for the custom look and feel

Text Fields

Text fields have the font family and alignment properties. Text field alignment is indicated by a dot in the layout view if the text field contains no placeholder or initial text. The properties dialog allows to specify the font family and alignment properties.

Text field properties
The properties dialog for text fields

String Container

A string container wraps long strings in a multi-line string, or collects strings with different properties in a multi-line or horizontally-aligned single-line string. The string container allows to space-savingly aggregate properties in a string in the HTML form, e.g. colors, URLs, calendar dates (fixed or current calendar dates with offsets), and tooltips.

Multi-line string container with border

A string container represents <div><div>phrasing content</div> … </div> in the HTML form.

Images

Small images (width/height < 500 px) can be loaded from the system clipboard or from an URL. The "Clipboard" button is disabled if the system clipboard contains no image data. Images can have a custom border and a custom background. Images are inlined as data URI in the CSS. The data URI image format depends on the image content: alpha channels require the PNG format, otherwise, the code generator chooses the format (PNG or JPG) that produces the smaller data.

The image shape with its context menu
The properties dialog for images

Images are displayed properly (aspect ratio) in the fixed form layout. A future version of the form designer will provide anchors/alignment for fluid and responsive layouts.

Page

The page (both form boundary and canvas) has the border and background properties. A right-mouse click on the grid opens the context menu, a double-click on the grid loads the properties dialog.

The page properties
The properties dialog for the page