added centeredHorizontal support to VerticalLayout