0

Size Icons using ZK 7.0 and Font Awesome [closed]

asked 2015-10-14 19:55:21 +0800

ansancle gravatar image ansancle
317 9

I am using ZK 7.03EE (soon 7.06EE) and want to start using Font Awesome. My first issue is without including the link in the zul :

<h:link href="//netdna.bootstrapcdn.com/font-awesome/4.0.1/css/font-awesome.css" rel="stylesheet"/>

I can't change the icon size using the fa-2x, fa-3x, fa-4x, fa-5x tags. No matter what I put in for the sizing component has no effect, it's always fa-2x. Adding the link makes the sizing work properly. I cannot use the link since I can't always count on having an internet connection at the customer site.

<button iconSclass="z-icon-power-off fa-5x"/>

Also, I see that this is only available for LabelImageElement types, is there anyway it can be used with an Image?

delete flag offensive retag edit

The question has been closed for the following reason "duplicate question" by chillworld
close date 2015-10-15 13:25:30

Comments

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-10-14 19:55:21 +0800

Seen: 25 times

Last updated: Oct 14 '15

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