hello ,
I'm a newbie in XUL.
I would like to manage the size of the text in a XUL application like it does in Mozilla when you use the 'Ctrl' + '+' to size up the font . Currently, I have a <page> element that manages the preferences of the application and I would like to be able to change the size of all the text contained in my application through this page . Maybe, I have to use a XPCOM interface to manage preferences, but I've no idea of how to do that. I saw that there exists a
font-pref.xul font-pref.js in the comm.jar/content/communicator/pref . Maybe it
is possible to use the font box of the mozilla communicator but I have no idea
of how to do that. Can somebody please help me ? How can I "include" or re-use
the code in my XUL application to manage font size ?
thank you |