Edit in GitHubLog an issue

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 clipboard
1.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.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.