View Full Version : which version of Qt supports alignJustify ?
jinfe
6th February 2014, 07: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, 08: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, 07: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, 13:26
I did not understand...
If string have only one line, must set align to 'Qt::TextJustificationForced | Qt::AlignJustify'.
It is working!:p
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.