better automatic horizontal alignment (if not align is set)