[Gambas-user] How to Align.Justify

Rolf-Werner Eilert rwe-sse at osnanet.de
Thu Jan 9 17:43:03 CET 2020


I have a text which I want to print with

Paint.DrawRichText(... Align.Justify)

What I expect is text that
has always a straight left
and  right  border,  i. e.
it gets additional  spaces
between   the   words   to
justify  it   between  the
borders.

Is that correct, or is it intended to do something else? In my program 
it always shows up simply leftbound. Rightbound and Center do run as 
expected. In the help, I find

Align.Justify (gb.qt4)

Const Justify As Integer = 4

Constant for justifying horizontally and centering vertically.
Use it with TextEdit.Format.Alignment.

And when I click on the link, I come to

.texteditformat.alignment (gb.qt4)?
This symbol does not exist.

So what now?

Thanks for your help!

Rolf



More information about the User mailing list