Setting alignment on non-fixed component.

Size of a component is calculated based on requested size and actual size if it is not fixed.

Close #999.
Axis alignment is different than for instance Label, so that's the reason to keep it here. Axis has expanding one dimension, which was causing the original issue.