[ Version ( since = "0.2" ) ]
public void set_height (float height)
Forces a height on an actor, causing the actor's preferred width and height (if any) to be ignored.
If height
is -1 the actor will use its preferred height instead of overriding it, i.e. you can "unset" the height with -1.
This function sets both the minimum and natural size of the actor.
this |
A Actor |
height |
Requested new height for the actor, in pixels, or -1 |