Layout base class, Vertical/Horizontal Box layout