Scaling font size dynamically

I have a usability requirement for users to be able to click an Icon and the fonts on the entire page grow / shrink. Ideally the font scaling would last for their session or until they taggled it back.

Can anyone suggest a way to do this?



Hi Niall,

I think you could achieve this by using the control “include stylesheet” where you can define a binding expression for the property “value” (which is the path to the stylesheet). This way you could implement some logic that points to another CSS stylesheet when a specific user action takes place (i.e. a button click). You would probably have to refresh the page when the new stylesheet gets used, but that shouldn’t be a problem either.