set_x_expand


Description:

[ Version ( since = "1.12" ) ]
public void set_x_expand (bool expand)

Sets whether a Actor should expand horizontally; this means that layout manager should allocate extra space for the actor, if possible.

Setting an actor to expand will also make all its parent expand, so that it's possible to build an actor tree and only set this flag on its leaves and not on every single actor.

Parameters:

this

a Actor

expand

whether the actor should expand horizontally