0

Where are font awesome icons located?

asked 2018-01-26 04:43:33 +0800

sahild gravatar image sahild
117 4

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?

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2018-01-26 11:26:06 +0800

cor3000 gravatar image cor3000
4263 1 7
ZK Team

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

link publish delete flag offensive edit

answered 2018-01-29 21:54:46 +0800

sahild gravatar image sahild
117 4

updated 2018-01-29 22:03:44 +0800

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

link publish delete flag offensive edit

answered 2018-01-30 14:24:16 +0800

cor3000 gravatar image cor3000
4263 1 7
ZK Team

thanks for getting back, I am glad I could help

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2018-01-26 04:43:33 +0800

Seen: 35 times

Last updated: Jan 30

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More