DGLux5 components are customizable, graphical building blocks for web applications. A widget is a custom graphical element that comprises one or more DGLux5 widgets, components, shapes, or paths. When you create a project in DGLux5, you add components and widgets to a page or set of pages. Then, you customize the behavior and appearance of each object using properties, dataflow, and actions. DGLux5 has four kinds of components: Components, Charts, Gauges, and Form Input.
When you add a widget to the widget palette, you can re-use it in different pages and projects. You can load widgets from other projects using your lib directory.
You insert components, and some default widgets such as charts, using the Insert menu.
To insert a core component or default DGLux5 chart widget into your Document window:
In the Main Menu, select Insert, and choose the component to add.
The component is inserted as a child of the selected Stage or group.
Inserting a Google Map component onto the Stage
Inserting a text component into a group
You can also insert components by right-clicking the Stage or group.
You insert widgets using the widget palette.
These steps only work in Edit mode.
To insert a widget from the widget palette:
Drag the widget to the Document window.
When you drop the widget, it is inserted as a child of the Stage or the first available unlocked group at your mouse location.
Inserting a widget onto the Stage by dropping it over an empty area in the Document window
Edit a component or widget by selecting it and then using the Properties panel.
In general, changes that you make in the palette
and lib
directories affect widget palettes but do not "trickle down" to instances of the widget. See Edit Widgets for more information.
You can select one or more children of the same group simultaneously. You cannot select children from different groups simultaneously.
To select an object, you use one of the following:
To select objects using the Outline:
In the Outline, click the object.
You may have to click a toggle arrow to expand a group, or scroll up or down in the panel to locate the object.
Shift + click to add another object, and all of the objects in between, to the selection.
You can also Ctrl + click or Command + click to change whether an item is part of the selection.
Horizontal Layout, Breadcrumbs and Header groups have been selected
These steps work only in Edit mode.
To select items using the Select tool:
These steps only work in Edit mode.
To use the Path Selection tool:
To select an object that lies behind another object, click multiple times without moving the mouse. Selection iterates through the objects at the cursor position, beginning with the topmost object.
You can group widgets and components. Groups are useful for responsive layouts, symbols, repeaters, and widgets that comprise multiple components.
When you group objects, the stacking order of your page might change. A group is arranged immediately behind the frontmost object in the group.
A group can be a child of another group.
You can move objects by dragging them, by using arrow keys on the keyboard, or by entering precise values in the Property Inspector.
These steps only work in Edit mode. Snapping can help you position objects.
To drag objects:
These steps only work in Edit mode. Snapping can help you position objects.
To move objects using the arrow keys:
Press the arrow keys to move the objects.
The object moves one pixel for each keystroke. Hold Shift to move the object five pixels per keystroke.
See also: Position and Size Properties
To specify position properties:
In the Property Inspector, under Position and Size, specify the appropriate position properties. For example, you could set the Top and Left properties to pixel values, or you could set the Horizontal Center and Vertical Center properties to pixel values.