Skip to main contentThese properties determine the horizontal alignment of text displayed on an interactive button.
Alignment
- Horizontal:
Choose how text is aligned inside the button. Options:
- Left: Align text to the left edge.
- Middle: Center text horizontally.
- Right: Align text to the right edge.
- Justified: Distribute text evenly across the width.
- If automatic sizing is enabled for the button, alignment affects how the button resizes:
- Default behavior: Button resizes to the right.
- Right alignment: Button resizes to the left.
- Middle alignment: Button resizes equally on both sides (left and right).
This allows flexible design adjustments when using dynamic or variable content inside the button.