It's frequently used to position <screen/> elements as components of a displayed screen:
Code: Select all
<panel pos="x,y" size="w,h">
<panel name="SomeSubScreen"/>
</panel>
Code: Select all
<panel name="SomeSubScreen" pos="x,y" size="w,h"/>
Code: Select all
<panel position="695,570" size="240,23">
<eLabel text="text 1" position="left" size="60,23" font="Regular;20" foregroundColor="white" transparent="1"/>
<eLabel text="text 2" position="left" size="60,23" font="Regular;20" foregroundColor="white" transparent="1"/>
<eLabel text="text 3" position="left" size="60,23" font="Regular;20" foregroundColor="white" transparent="1"/>
<eLabel text="text 4" position="left" size="60,23" font="Regular;20" foregroundColor="white" transparent="1"/>
</panel>
It looks like you can sensibly have both left and right aligned elements in the same panel, and top and bottom (though I haven't experimented with that), but the code isn't smart enough to do much that's likely to be useful if you try to use both vertical and horizontal alignment in the same panel (but putting panels within panels may allow you to do it).
There's also a fill position that allows the element to fill the panel exactly, and a layout="stack" panel attribute that lets you put the items inside the panel layered on top of each other if you give the same alignment.