Special values for layout x and y attributes

Looking at some examples it looks like one can use special values for x and y such as "center".
Is there other such special values? Is that documented somewhere?
I recall trying things like "top" and that failed.
  • Former Member
    Former Member
    It is documented in the "Using a layout" section of the programmers guide. However what may not be obvious is that you can also code.
    <label x="(dc.getWidth() / 2) + 60" y="(dc.getHeight() / 2) + 15" font="@Fonts.MyFont" text="Some text" color="Gfx.COLOR_WHITE" justification="Gfx.TEXT_JUSTIFY_CENTER|Gfx.TEXT_JUSTIFY_VCENTER"/>