[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A stupid question (Align Class)


Le 26/02/2025 à 10:52, Fabien Bodard a écrit :


Le mer. 26 févr. 2025 à 10:37, Benoît Minisini <benoit.minisini@gambas- basic.org <mailto:benoit.minisini@xxxxxxxxxxxxxxxx>> a écrit :

    Le 25/02/2025 à 18:47, Fabien Bodard a écrit :
     >
     > Why Align.Justify in Paint.DrawRichText vertically center the
    text ????
     >
     > --
     > Fabien Bodard

    'Align.Justify' is actually not supported anymore. It was there for the
    'TextEdit' control in the 'gb.qt<n>.ext' component.


What do you mean by not supported ?

I can actually use it with paint.richtext


It's a side effect of Qt, as this is the same constant used by QTextEdit widget. It does not work with GTK+ normally.

--
Benoît Minisini.


Follow-Ups:
Re: A stupid question (Align Class)Fabien Bodard <gambas.fr@xxxxxxxxx>
References:
A stupid question (Align Class)Fabien Bodard <gambas.fr@xxxxxxxxx>
Re: A stupid question (Align Class)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: A stupid question (Align Class)Fabien Bodard <gambas.fr@xxxxxxxxx>