I have a Gtk application, but the font size is quite small and I want to make it bigger. For specific widgets, I increase the font size using CSS, so I tried the following to increase all the font sizes in my application:
* {
font-size: 1.5em;
}
However, this seems to trigger recursive behaviour, increasing the text size to such a point that half a letter fits on my screen.
I found this solution, but I cannot find the settings.ini
file that is mentioned and so cannot edit it.
All other solutions I found were either applied to the all GTK applications (which is not my goal) or they were very old solutions from 2009.
Any ideas how I can still do this?
I imagine that defining the size of an M in terms of the size of an M would trigger recursive behaviour. Try setting it in terms of a fixed unit like pixels instead.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.