Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
4.5.2
-
None
Description
If you set an unsupported alignment you get a message on the console, e.g., "QTextOdfWriter: unsupported paragraph alignment; 68". This is fine, but what isn't fine is that no alignment is applied.
So if you do textBlockFormat.setAlignment(Qt::AlignHCenter|Qt::AlignBottom), you don't get any alignment set (because AlignBottom isn't supported). What should happen is that Qt masks out any unsupported alignments and if there's any left, applies them.
And of course, Qt should support AlignBottom.