Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Support horizontal alignment in HTML labels #58652

Merged
merged 3 commits into from
Sep 16, 2024

Commits on Sep 11, 2024

  1. [feature] Support horizontal alignment in HTML labels

    For multi-line labels, this allows use of either:
    
    - HTML <p align="xxx"> attributes
    - CSS "text-align: xxx"
    - HTML <center>some text</center> tags
    
    Supported alignments are left, right, center and justify
    
    Horizontal alignment can be used in all contexts where
    HTML text is rendered, EXCEPT for curved labels (since they
    are restricted to single-line text)
    
    Sponsored by City of Freiburg im Breisgau
    nyalldawson committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    ce8ce0a View commit details
    Browse the repository at this point in the history
  2. Add test mask

    nyalldawson committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    7baaf41 View commit details
    Browse the repository at this point in the history
  3. Fix test

    nyalldawson committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    872844e View commit details
    Browse the repository at this point in the history