Mercurial > minori
diff src/gui/dialog/settings.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 | 27a19dd6cba1 |
children | 3364fadc8a36 |
line wrap: on
line diff
--- a/src/gui/dialog/settings.cpp Tue Oct 03 05:00:08 2023 -0400 +++ b/src/gui/dialog/settings.cpp Tue Oct 03 06:12:43 2023 -0400 @@ -16,7 +16,7 @@ page_title->setFrameShadow(QFrame::Sunken); QFont font(page_title->font()); - font.setPointSize(10); + font.setPixelSize(13); font.setWeight(QFont::Bold); page_title->setFont(font); @@ -76,7 +76,7 @@ sidebar->setFrameShape(QFrame::Box); QFont font(sidebar->font()); - font.setPointSize(9); + font.setPixelSize(12); sidebar->setFont(font); QPalette pal(sidebar->palette());