18.02.2015 Views

5ml User's Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>5ml</strong> <strong>User's</strong> <strong>Guide</strong><br />

Figure 13-9: Dragging Button widgets to the HBox element (with Spacing set to five pixels).<br />

Each element you add to the HBox element appears to the right of the previous element, and also appears as a child to<br />

the parent HBox element in the Page Outline pane on the lower left side of the Project Editor. You can change the order of<br />

the elements by clicking Bring Forward, Send Backwards, and so on (for details on arranging elements, see "Arranging<br />

and Overlapping Page Elements" on page 181).<br />

To change the HBox element's properties, click the element on the page, or click HBox in the Page Outline pane. The<br />

Properties pane for the HBox element appears on the right side of the Project Editor (refer to Figure 13-9 on page 321).<br />

To set the spacing in pixels between elements in the HBox, drag the Spacing slider in the General tab of the Properties<br />

pane — drag to the right to increase spacing, or to the left to reduce spacing. To align the elements vertically within the<br />

HBox element, choose Top, Middle, or Bottom in the Vertical Align drop-down menu.<br />

You can also customize the HBox element by changing properties in the Properties pane:<br />

• The General tab lets you define the element's optional ID.For details, see "Changing General Properties" on page<br />

197.<br />

• The Appearance tab lets you set the HBox element's background, border, and opacity, and add a reflection and<br />

shadow to the element. You can also set the roundness of the border's line style with the Roundness control.<br />

These settings are applied to the entire HBox element; to change the appearance settings for each widget element<br />

within the HBox element, select each element first. For details, see "Changing Appearance Properties" on page<br />

198.<br />

- 321 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!