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

Re: A stupid question (Align Class)


Le mer. 26 févr. 2025 à 11:04, Benoît Minisini <
benoit.minisini@xxxxxxxxxxxxxxxx> a écrit :

> 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.
>

Arf I'm so disappointed 😞.

I will try to find a way to render simple RichText by myself so..  as I
just need basics formatting such as Fonts, colors, alignment. And for
relatively short texts in general.

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>
Re: A stupid question (Align Class)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>