TOC PREV NEXT INDEX



Inset Sizer


The Inset Sizer is a container which can hold one part. It allows the user to specify the height and width of the part that it holds, as well as the insets (gaps) around that part. This is very useful for overriding the default sizing of parts by a layout.

For example, a Button's size is usually based upon the text inside the Button. If the user wants to create a large Button whose size is always 150 by 150 pixels, the Button can be placed inside an Inset Sizer with the dimension set to 150 by 150. If the user want a gap around the Button, it can be entered as a set of Insets.

The Inset Sizer will generate a ContainerEvent whenever a part is added or removed.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX