set_alignment
Description:
public void set_alignment (float xalign, float yalign)
Sets the alignment of the widget.
Note:
Use Widget's alignment (halign and
valign) and margin properties or Label
's xalign and yalign
properties.
Parameters:
this |
a Misc.
|
xalign |
the horizontal alignment, from 0 (left) to 1 (right).
|
yalign |
the vertical alignment, from 0 (top) to 1 (bottom).
|