Constructor
new(posX:Int, posY:Int, width:Int, height:Int, direction:ExpanderDirection)
Create a new Expander layout. Depending on the direction, either the
given width
or height
is ignored.