Set the scaling states for this element.
1 bool horizontal
whether this element should be scaled horizontally.
2 bool vertical
whether this element should be scaled vertically.