User Tools

Site Tools


container

Container

The Container element controls the layout characteristics of child components.

Four graphic elements held in a container.
Container Screenshot.

Characteristic

Definition
Interactive Display Object B2
Type Interactive Display Object
Category Element
Scope Local
Position *
Parents Container
Children *
Gestures none
Attributes
Requirements none

Attribute

Type

Description
layout object reference Sets the layout of the container
paddingBottom number Sets the number of pixels between the container's bottom border and the bottom of its content area.
paddingLeft number Sets the number of pixels between the component's left border and the left edge of its content area.
paddingRight number Sets the number of pixels between the component's right border and the right edge of its content area.
paddingTop number Sets the number of pixels between the container's top border and the top of its content area.
position text Sets the position

See Also: Display Attributes

<Container id="images" x="850" y="200">
    <Image id="image1" x="0" y="0" width="200" src="spectrum/bulbs_vis.jpg"/>	
    <Image id="image2" x="200" y="0" width="200" src="spectrum/bulbs_off_therm.jpg"/>
    <Image id="image3" x="0" y="200" width="200" src="spectrum/bulbs_off_uv.jpg"/>
    <Image id="image4" x="200" y="200"  width="200" src="spectrum/bulbs_therm.jpg"/>
</Container>
container.txt · Last modified: 2015/09/18 12:23 by glass