Mercurial > minori
diff src/gui/dialog/about.cpp @ 74:5ccb99bfa605
fix regressions on macOS
for now, we're setting our font sizes using setPixelSize, and later I'll
use a macro or something to make the point size constant across platforms
also anilist user id stuff stopped working :) that's fixed now
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 03 Oct 2023 06:12:43 -0400 |
parents | fe719c109dbc |
children | 6f7385bd334c |
line wrap: on
line diff
--- a/src/gui/dialog/about.cpp Tue Oct 03 05:00:08 2023 -0400 +++ b/src/gui/dialog/about.cpp Tue Oct 03 06:12:43 2023 -0400 @@ -17,7 +17,7 @@ #define SET_TITLE_FONT(font, format, cursor) \ { \ font = cursor.charFormat().font(); \ - font.setPointSize(10); \ + font.setPixelSize(16); \ format.setFont(font); \ cursor.setCharFormat(format); \ } @@ -25,7 +25,7 @@ #define SET_PARAGRAPH_FONT(font, format, cursor) \ { \ font = cursor.charFormat().font(); \ - font.setPointSize(8); \ + font.setPixelSize(12); \ format.setFont(font); \ cursor.setCharFormat(format); \ }