Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

There are two ways: linking that font setting to a css class (i.e. like the font type but in the css you change font-size instead of font-family) or add something like:

var sizepopup = document.getElementById("ui-dialog");
sizepopup.style.fontSize = settings.fontSize;

Just below size.style.fontSize = settings.fontSize;

Fair warning: it changes right away and the popup may/will probably look weird until closed/reopned.

Thank you - that's great (script version works fine for this one as I've made the Settings popup super simple and ofc that's the only one that can be open while you change it).

Awesome! Happy to be of help :)