Hi
I want to add an QAction to toolbar which contains only text(no Icons).The text will contain spaces but the spaces are stripped down even when i used the QAction::setText(const QString& text) function.
In the following code the space's are stripped downl
Qt Code:
ac->setText(" act ");//the spaces are stripped down addToolBar("toolbar")->addAction(ac);To copy to clipboard, switch view to plain text mode
How to get the spaces in QAction text.
Bookmarks