text-align
Since UXP v3.0
Aligns text within its parent container. Supports left
, center
, right
.
See: https://developer.mozilla.org/en/docs/Web/CSS/text-align.
Example
Copied to your clipboard1.someElement {2 font-style: left;3}
Quirks and Exceptions
- Text edit fields do not support overriding the text alignment.
- Not all Spectrum UXP components support overriding the text alignment.