Skip to content

Conversation

@cvanelteren
Copy link
Collaborator

@cvanelteren cvanelteren commented Dec 31, 2025

This PR avoids title overlap with a‑b‑c labels when both are placed in the same location. During draw, it measures the rendered widths of the two texts and, if needed, scales the title font down to fit within the available horizontal space for left, right, and centered alignments. The change is localized to _update_title_position, so it only affects shared‑location titles and leaves other title behavior unchanged.

@cvanelteren cvanelteren marked this pull request as draft December 31, 2025 10:14
@cvanelteren
Copy link
Collaborator Author

There is no real issue that closes this, more an issue I run into sometimes where the titles will overlap with the labels.

@cvanelteren cvanelteren marked this pull request as ready for review December 31, 2025 10:19
@cvanelteren cvanelteren requested a review from beckermr December 31, 2025 10:19
@cvanelteren cvanelteren marked this pull request as draft December 31, 2025 10:41
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.

2 participants