We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in the showcase the way to add an icon to a panel is to use a heading facet
<b:panel> <f:facet name="heading"> <i class="fa fa-battery-three-quarters" style="padding-right:20px" /> <h:outputText value="Battery charge left: 75% " /> <b:badge style="margin-left:10px; background-color:#5cb85c" value="good" /> </f:facet> <h:outputText value="Panel Content"/> </b:panel>
BTW this also seems to reduce the font size of the panel title
a nice enhancement might be to also be able to specify an icon using the icon and iconAwesome attributes.
The text was updated successfully, but these errors were encountered:
@chongma , can I close this issue?
Sorry, something went wrong.
I submitted a PR. Did you merge? I was going to add an example to the showcase as well so it can be demonstrated
@chongma if you are referring to #805 yes, I did merge.
TheCoder4eu
chongma
No branches or pull requests
in the showcase the way to add an icon to a panel is to use a heading facet
BTW this also seems to reduce the font size of the panel title
a nice enhancement might be to also be able to specify an icon using the icon and iconAwesome attributes.
The text was updated successfully, but these errors were encountered: