Project

General

Profile

How to add bootstrap css button style to WToolbar

Added by Kushan Gunaratne about 9 years ago

Hi,

Is there any possible way to add icon bootstrap style to WToolbar?

I try like this,

WToolBar viewModeToolBar = new WToolBar(container);
WPushButton loggingBtn = new WPushButton();
loggingBtn.setStyleClass("icon-file");
viewModeToolBar.addButton(loggingBtn);

But only display button here.(no icon)

Please any one help me.

Kushan