-
FEATURED COMPONENTS
First time here? Check out the FAQ!
In 8.0.0 ZK they upgraded to Font Awesome 4.3. We just upgraded our project from 7.0.6 to 8.0.5. We did this by replacing the jar files we had been using but we must have missed the one with the Font Awesome icons.
The maximize and collapse icons for window objects changed from using icon-resize-full and icon-resize-small to icon-compress and icon-expand. We seem to be using the old Font Awesome set because the maximize icon isn't displaying?
Where are the Font Awesome icons located in zk?
Hi Robert,
Your answer gave me enough information to figure out the issue. We had our own custom theme and in that jar file there was a version of the norm.css.dsp file with the older ZK definitions associating the old Font Awesome images to the maximized and maximize window controls. We have been using this custom theme for years. Will now look into the proper way to create custom themes with 8.0.x ZK.
Steve
I think this is hard to forget the fontawesome styles are compiled into norm.css.dsp
inside the zul.jar
zul-8.0.5.jar!/web/zul/css/norm.css.dsp
This file is combined into zk.wcs
which contains all the styles
E.g. this example you can run/test with different zk versions tracing the button icon styles will show they com from:
http://temp.zkfiddle.org:1223/t805/zkau/web/4f5fbfa9/zul/css/zk.wcs
Besides to avoid manual mistakes when dealing with dependencies we recommend using maven or gradle to manage dependencies automatically.
Robert
Asked: 2018-01-26 04:43:33 +0800
Seen: 49 times
Last updated: Jan 30 '18