User Tools

Site Tools


listlayout

ListLayout

The ListLayout positions the display objects in a horizontal or vertical list.

Two pictures laid out in a list.
GigapixelViewer screenshot
<Container class="horiztonal_list" x="470" y="25">
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Layout classRef="ListLayout" spacingX="200" tween="true" tweenTime="1500"/>                  
</Container>

<Container class="vertical_list" x="750" y="200">
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Image src="images/plane.jpg" scale=".3"/>
    <Layout classRef="ListLayout" useMargins="true" marginY="5" type="vertical" tween="true" tweenTime="1500"/>                  
</Container>
listlayout.txt · Last modified: 2015/09/18 14:43 by glass