Details
-
Bug
-
Resolution: Done
-
P4: Low
-
None
-
5.0.2
-
None
-
0f38fe972eb20a26e9e5c67444c5be75ac6753ed
Description
QString QFontMetrics::elidedText(const QString & text, Qt::TextElideMode mode, int width, int flags = 0) const
says:
"The elide mark will follow the layout direction; it will be on the right side of the text for RIGHT-TO-LEFT layouts, and on the left side for right-to-left layouts."
It should be: "; it will be on the right side of the text for LEFT-TO-RIGHT layouts...". It should be also mentioned, that it will happen so if we pass Qt::ElideRight as 'mode'.
Notice, that similar method for a QFontMetricsF doesn't have that comment, but I think it should have it too.