Prev | Current Page 703 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


AnchorStart(margin:
Float, ?content:
Null < Float > )
The element is anchored at the beginning
of the available dimension and occupies
the specified size or fit to its content if
omitted; if the dimension is not filled
completely by the initial margin and the
element content a blank space is left after
the element.
Same as above but with a
specified margin before the
element.
AnchorEnd(margin:
Float, ?content:
Null < Float > )
Same as above but with the anchor at the
end of the available dimension.
Same as above but with the
margin at the end.
Measures(margin:
Float, ?content:
Null < Float > marginafter:
Float)
The margin - before, the content (if omitted
the fit size is used) and the margin - after
are all specified. The measures of each are
calculated proportionally. Mesaures(20,
50, 30) The above example will render a
control that will be rendered at 20% of the
beginning margin and occupies the 50%
of the available dimension.
The element is rendered
with the dimensions specified
as arguments: a margin,
the content and another
margin.


Pages:
691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715