PDA

View Full Version : which version of Qt supports alignJustify ?



jinfe
6th February 2014, 08:32
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.

anda_skoa
6th February 2014, 09:53
I think that flag exists since Qt3, maybe even longer.

You will need to provide more context than "is not working"

Cheers,
_

SonyApple
22nd March 2014, 08:16
In Qt5.2.1 (maybe Qt5+), Qt::AlignJustify for QPainter::drawText() is not working.:confused:
In addition, Qt::AlignJustify for QWidget's text-alignment on UI Desiner(@QtCreator) is not working.:confused:

SonyApple
22nd March 2014, 14:26
I did not understand...
If string have only one line, must set align to 'Qt::TextJustificationForced | Qt::AlignJustify'.
It is working!:p