Font Awesome icon placement incorrect

UI Components for JSF
Post Reply
JohnJ
Posts: 1
Joined: 27 May 2015, 22:55
Location: Out west...
Contact:

27 May 2015, 23:24

I have integrated the Font Awesome icons and am using them in a "p:tabMenu" in the following way in a facelet:

Code: Select all

<p:tabMenu>
   ...
   <p:menuitem value="Plots" iconPos="top" icon="fa fa-bar-chart-o" actionListener="#{MyBean.viewTabPlots}"/>
   ...
</p:tabMenu>
The icon is showing up but is not contained in the shaded circle on the tab (see below). Instead the icon just shows up in front of the tab text and the shaded circle is blank.

Image

I can use other non-font awesome icons and they show up as expected.

For testing I am using Safari to hit the mobile web site and having it send a user agent of "Safari iOS 7 - iPhone". I am not sure if that information is relevant.

Is this a known issue? We are using PrimeFaces 5.2

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

04 Jun 2015, 17:19

2 out of 3 seems to be right, what is the difference in the third one?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 38 guests