Member attributes: Brick

This attribute determines the position and the size of a project member within the Composer window.




Embedded Wizard represents project members as small rectangular objects, called bricks. You can select, resize and arrange the bricks as you want simply with the mouse. Their actual position has no effect on the functionality of your application. In fact, the possibility to freely arrange the bricks is a convenient feature allowing you to structure and edit your project in a visual manner. The following image shows several bricks within the Composer:

With the attribute Brick you can control the position and the size of the corresponding member precisely. The attribute must be a Chora rect literal, consisting of exact four integer numbers x1-value, y1-value, x2-value and y2-value, separated by , (comma) signs and enclosed between a pair of < ... > (angle brackets).

Please note, the attribute is not available for view objects, because these provide their own visual representation and are not displayed as bricks, e.g. the image view appears directly as an image.

Modify the attribute

To inspect or modify the value of a Brick attribute, select first the affected member. Thereupon, the attribute is listed in the middle area of Inspector:

The attribute is also modified when you move or resize the affected member in the Composer window with the mouse.