-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi folks
I would like to decrease the font size of all the UI components of my web application, like the three "A" of the ZK Explorer demo .
How can I do that?
Cheers
Gyo
Hi
i have done it like following:
in zk.xml
<language-config> <addon-uri>/WEB-INF/lang-addon.xml</addon-uri> </language-config>
in lang-addon.xml
<language-addon> <language-name>xul/html</language-name> <library-property> <name>org.zkoss.zul.theme.fontSizeM </name> <value>11px</value> </library-property> <library-property> <name>org.zkoss.zul.theme.fontSizeS </name> <value>10px</value> </library-property> <library-property> <name>org.zkoss.zul.theme.fontSizeXS </name> <value>9px</value> </library-property> <library-property> <name>org.zkoss.zul.theme.fontSizeMS </name> <value>10px</value> </library-property> </language-addon>
whishes
Stephan
PS: help to prevent the global warming by writing cool software.
Stephan, thanks for the quickly answer.
Is there any way to choose/set which font size for example fontSizeXS I want for my application?
Cheers
I would know it too :-)
I hope somebody can help us. (Java-code preferred for me)
Skype, not over daytime. Sorry
Wich national are you from?
I'm from Brazil and I'm gonna start a partnership with ZK here so I have to get more experience / more contacts to make this right :-)
I'm also working on a commercial application based on ZK.
Well, this is my skype account: gyowannyteste
and my email: [email protected]
Cheers
Hi,
You can use the Theme Provider, please take a look at here.
And also grab the example from ZK Demo.
/Jumper
Hmmm, i mean there is something missing in the wiki code:
uris.add(getMyThemeURI(req));
where is the getMyThemeURI methode()?
and the setter for the theme??
Stephan
many thanks jumper.
That's exactly what i need.
Is this the right place for extend a methode to force a 'Locale'
other than the browsers default?
Stephan
Asked: 2009-03-12 12:25:43 +0800
Seen: 391 times
Last updated: Mar 16 '09