Project

General

Profile

Font Awesom Icons

Added by T Y over 8 years ago

Hi,

It looks like it is easy to incorporate http://fortawesome.github.io/Font-Awesome/icons/

1. In your application -> add style sheet

...->useStyleSheet(Wt::WLink("https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"));

2. Call icon by creating object, say empty text, with style for icon:

Wt::WText *pIcon = new Wt::WText();
pIcon->setStyleClass("fa fa-expand fa-2x");

Any comments are welcome.

Thank you.

Kind regards,

TY