qtforkawesome/qtforkawesome
Martchus bb2030c964 Avoid too big icons in certain cases
When setting the scale factor of the primary screen to e.g. 100 % and the
scale factor of the second screen to something higher like 200 % the icons
appear too big on buttons and tabs. This is because icons are apparently
just rendered with the required size and the scale factor should therefore
not be applied.

This change adds overloads to specify a scale factor manually and uses a
scale factor of 1.0 for icons. The icons do not look blurry afterwards but
are also not too big anymore in the mentioned case. So this is probably how
it is supposed to be done.
2024-02-22 00:59:42 +01:00
..
scripts Move files into sub directory to be able to add additional targets later 2021-09-13 20:50:14 +02:00
tests Format tests 2022-10-16 15:12:55 +02:00
CMakeLists.txt Apply cmake-format 2023-04-02 18:31:40 +02:00
global.h Move files into sub directory to be able to add additional targets later 2021-09-13 20:50:14 +02:00
icon.h Workaround moc parse errors on Fedora 33 and 34 builds 2021-09-15 18:04:47 +02:00
iconfwd.h Move files into sub directory to be able to add additional targets later 2021-09-13 20:50:14 +02:00
renderer.cpp Avoid too big icons in certain cases 2024-02-22 00:59:42 +01:00
renderer.h Avoid too big icons in certain cases 2024-02-22 00:59:42 +01:00
utils.cpp Remove include guards wrongly added to source file 2021-09-13 20:50:14 +02:00
utils.h Move files into sub directory to be able to add additional targets later 2021-09-13 20:50:14 +02:00