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

OfflineMapButton: fix text overlapping on long tileset descriptions #10598

Merged
merged 1 commit into from
Feb 25, 2023

Conversation

Davidsastresas
Copy link
Member

@Davidsastresas Davidsastresas commented Feb 22, 2023

This addresses #10593

text wrap was added, and also the possibility to occupy 2 lines in case the tileset title is too long. If the title is longer than 0.4 the width of the button and already has occupied 2 lines, the remaining text won't be shown though.

This is how it looked before the PR:

Screenshot from 2023-02-22 22-57-29

and this is how it looks after the PR:

Screenshot from 2023-02-22 22-57-56

@booo booo merged commit 613a31b into mavlink:master Feb 25, 2023
@booo
Copy link
Collaborator

booo commented Feb 25, 2023

Makes sense. Looks good. Thanks for your contribution.

@Davidsastresas Davidsastresas deleted the master-PR/fix-offline-maps-text branch February 26, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants