currently I am using Qt5 But Qt::AlignJustify is not working .I read that only in some cases it will work .I want to know which all cases it will work.
currently I am using Qt5 But Qt::AlignJustify is not working .I read that only in some cases it will work .I want to know which all cases it will work.
I think that flag exists since Qt3, maybe even longer.
You will need to provide more context than "is not working"
Cheers,
_
In Qt5.2.1 (maybe Qt5+), Qt::AlignJustify for QPainter::drawText() is not working.
In addition, Qt::AlignJustify for QWidget's text-alignment on UI Desiner(@QtCreator) is not working.
I did not understand...
If string have only one line, must set align to 'Qt::TextJustificationForced | Qt::AlignJustify'.
It is working!
Bookmarks