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

Fix outlined nameplates not obeying alignment #1044

Merged
merged 1 commit into from
Aug 31, 2024
Merged

Fix outlined nameplates not obeying alignment #1044

merged 1 commit into from
Aug 31, 2024

Conversation

in1tiate
Copy link
Member

Fixes #1043
Also fixes outlined nameplates clipping font descents

In order to fix this bug I did what I should have done from the start: delete my old bad code and steal the solution from StackOverflow, in true FanatSors fashion. Original solution (for PyQt) here:
https://stackoverflow.com/questions/64290561/qlabel-correct-positioning-for-text-outline

Copy link
Contributor

@Salanto Salanto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks significantly less cancerous. Thanks Stackoverflow.

@Salanto Salanto merged commit cbda03e into master Aug 31, 2024
3 checks passed
@Salanto Salanto deleted the fix-outlines branch August 31, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The "showname_align" setting is not respected when "showname_outline" is enabled [2.11 RC4]
2 participants