-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Conversation
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
@nyalldawson A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
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
Thanks @elpaso! |
@nyalldawson |
For multi-line labels, this allows use of either:
attributes
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