sweyer icon indicating copy to clipboard operation
sweyer copied to clipboard

Fix layout issues caused by not accounting for the textScaleFactor

Open Abestanis opened this issue 2 years ago • 1 comments

This fixes the layout issues seen when the system font size is increased. The math.max makes sure that the kSongTileHeight doesn't get too small. This is not the most elegant solution, since it requires us to pass the textScaleFactor around a lot, let me know if you find a better solution. Fixes #66.

Largest font Smallest font
Largest font Smallest font

Abestanis avatar Jun 17 '22 23:06 Abestanis

~~I can't tell if this introduces some visual changes in the default configuration. Please update the goldens on the 1.0.8 branch before merging this, so we can compare against a clean baseline again.~~ This doesn't introduce any visual changes for the default configuration.

This includes #74, please merge it before this.

Abestanis avatar Jun 26 '22 10:06 Abestanis