comparison 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
comparison
equal deleted inserted replaced
73:f1fc8b04bc63 74:5ccb99bfa605
15 #define CONCAT_VERSION(major, minor, patch) CONCAT_VERSION_NX(major, minor, patch) 15 #define CONCAT_VERSION(major, minor, patch) CONCAT_VERSION_NX(major, minor, patch)
16 16
17 #define SET_TITLE_FONT(font, format, cursor) \ 17 #define SET_TITLE_FONT(font, format, cursor) \
18 { \ 18 { \
19 font = cursor.charFormat().font(); \ 19 font = cursor.charFormat().font(); \
20 font.setPointSize(10); \ 20 font.setPixelSize(16); \
21 format.setFont(font); \ 21 format.setFont(font); \
22 cursor.setCharFormat(format); \ 22 cursor.setCharFormat(format); \
23 } 23 }
24 24
25 #define SET_PARAGRAPH_FONT(font, format, cursor) \ 25 #define SET_PARAGRAPH_FONT(font, format, cursor) \
26 { \ 26 { \
27 font = cursor.charFormat().font(); \ 27 font = cursor.charFormat().font(); \
28 font.setPointSize(8); \ 28 font.setPixelSize(12); \
29 format.setFont(font); \ 29 format.setFont(font); \
30 cursor.setCharFormat(format); \ 30 cursor.setCharFormat(format); \
31 } 31 }
32 32
33 #define SET_FONT_BOLD(font, format, cursor) \ 33 #define SET_FONT_BOLD(font, format, cursor) \