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

Vectorize key icons to insure we look great on high/mid/low DPI screens #5692

Merged
merged 12 commits into from
Sep 30, 2024

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Sep 30, 2024

One thing jumped at me at intergeo when showcasing QField on this nice large samsung TV: bitmap images found in a bunch of tool buttons (et al) really do us a disservice. This PR takes care of that. I took photos of the worse offenders, unfortunately it doesn't do justice of how bad it looked.

In doing so, we get rid of a bunch of PNGs, making our APK smaller by a few 100KBs :) (to be exact: 450KB or so, not insignificant).

The PR isn't taking care of all remaining ones, but insures that the main parts of QField (e.g. qgismobileapp.qml) are all using vector icons. The PR kills all remaining bitmap icons, we're not vector-only.

@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Sep 30, 2024

@nirvn nirvn merged commit a81fb61 into master Sep 30, 2024
21 of 23 checks passed
@nirvn nirvn deleted the icon_vectorize branch September 30, 2024 08:09
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.

3 participants