Open geemang2000 opened 13 years ago
Are you add the following to the zk.xml?
<library-property>
<name>org.zkoss.theme.preferred</name>
<value>silvertail</value>
</library-property>
No, by adding the theme asruntime "org.zkoss.theme:silvertail:5.0.8"
in the dependencies section in the Buildconfig.groovy it seems to use silvertail by default.
Add the
<library-property>
<name>org.zkoss.theme.preferred</name>
<value>silvertail</value>
</library-property>
then see whether the fontFamily is effect
Did not work. Same result as above.
NOTE: I added this as a test too. Did not do anything either
<client-config>
<debug-js>true</debug-js>
</client-config>
Font Size is work
<library-property>
<name>org.zkoss.zul.theme.fontSizeM</name>
<value>12px</value>
</library-property>
<library-property>
<name>org.zkoss.zul.theme.fontSizeMS</name>
<value>12px</value>
</library-property>
<library-property>
<name>org.zkoss.zul.theme.fontSizeS</name>
<value>12px</value>
</library-property>
I will find out the reasons why fontFamily is not work.
Yes, those work fontSize settings work here too
Any word on the other settings?
I have no idea to solve the problem up to now, need some time to find the reason.
I've generated a zk.xml using zk-install-xml since I'd like to globally change org.zkoss.zul.theme.fontFamilytT and org.zkoss.zul.theme.fontFamilytC to 'verdana, arial, helvetica, sans-serif' .
I added these to my zk.xml
FYI: I have
runtime "org.zkoss.theme:silvertail:5.0.8"
in my BuildConfig.groovy so I'm using this themeThe fontFamily setting doesn't seem to be taking effect. I see the fontFamily of my components as : arial,sans-serif
I'm wondering if the zk.xml file is being loaded???