Repository navigation
Conversation
The toolbar icons were 16x15 pixel PNGs drawn at 24x24, so they were upscaled and looked blurry on HiDPI/Retina displays and on Windows with display scaling above 100%. - Redraw all 35 toolbar icons as 24x24 SVGs (src/app/res/icons/) - Keep the original meaning and classic palette (navy title bars, olive, yellow, red/blue swap arrows, cyan glasses) - Data format labels (i16, u32, .64, ...) are glyph outlines from Fira Mono (SIL OFL 1.1), so rendering does not depend on system fonts - Swapped formats and Byte Order use a red (top) / blue (bottom) arrow pair - Update mainwindow.ui and resources.qrc, remove the unused PNGs
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The toolbar icons are 16x15 px PNGs, while the toolbars use a 24x24 icon size. On HiDPI/Retina screens (and on Windows with display scaling > 100%) they are upscaled ~3x and look blurry.
This PR redraws all 35 toolbar icons as 24x24 SVGs, so they stay sharp at any scale factor.
Related to #98 — with vector icons the toolbar icon size can also be increased later without losing quality.
Screenshots (macOS, Retina)
Before
After
Changes
src/app/res/icons/*.svg(35 icons, same base names as the old PNGs)src/ui/mainwindow.ui,src/app/resources.qrc: reference the SVGs instead of the PNGsDesign notes
010,0xA,i16,u32,.64, ...) are glyph outlines of Fira Mono Bold (SIL OFL 1.1) converted to paths, so the result does not depend on installed fonts.05,06,15,16,22,U) use the regular weight to visually separate them from the data format buttons.Test
devwith Qt 6.12 on macOS 27.2 (Apple Silicon) — builds and runs, all toolbar icons render correctly in enabled and disabled states.