Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.6.3
-
None
-
Windows 7
Description
I am trying to set the text of a QPushButton to show dimensions. Whenever it is in the format "123 x 321" the ordering of the text gets changed around to "x 321 123". However if I remove the spaces around the x, and have the format "123x321", it displays correctly.
The code I am using...
QString text = QString::number(width) + " x " + QString::number(height);
ui_>customDimensionButton_>setText(text);