CRelativeLayout Class

class CRelativeLayout: public CLayoutNode

Implementation of the Relative layout algorithm.
The Relative Layout allows a logical organization of layout nodes where the arrangement of child windows is specified as a set of constraints which are constructed using English-like semantics. For example: "Set the left side of node 1 equal to the right side of node 2 plus 10 pixels," or "Set the bottom of node 1 to 25 percent of the height of node 2," or "Move node 1 such that its bottom is equal to the top of node 2 - 10 pixels." Use the SetConstraint() method in the IRelativeLayout interface to specify the constraints to be used by an object.

Defined in: RelativeLayout.h

Supported Interfaces

ILayoutNode

Basic layout node interface.

IRelativeLayout

Functionality specific to the Relative layout algorithm.