[Gambas-user] Right-to-left support in GTK OR QT

Mayost Sharon sharon at 455.co.il
Thu Feb 17 21:06:59 CET 2022



---------- Original Message -----------
From: Benoît Minisini <g4mba5 at gmail.com>
To: user at lists.gambas-basic.org
Sent: Wed, 16 Feb 2022 23:30:54 +0100
Subject: Re: [Gambas-user] Right-to-left support in GTK OR QT

> Le 15/02/2022 à 07:22, Mayost Sharon a écrit :
> > 
> > Hello
> > 
> > Attached is a picture
> > For example you will see the ListBox
> > 1. Evaluate ListBox1.Direction = RightToLeft
> > 2. I wrote text content in Hebrew
> > 
> > It is still aligned to the left
> > 
> > Many thanks
> >
> 
> Please post each time an updated project, so that I am sure to run 
> exactly the same code as you.
> 
> Regards,
> 
> -- 
> Benoît Minisini
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
------- End of Original Message -------

Hello

I attach a code that shows the problem

When I run the project there are controls on the right:
ComboBox
ListView
ListBox
I set them right to left
But they are not aligned right to left they stay left to right

If I press the button that changes language it straightens them right to left but the problem
That the controls on the left side are also straight from right to left and I want them to stay left to right

For example you will see the control: RadioButton1 which looks good aligned right to left
And RadioButton2 also looks good aligned left to right

Maybe my definition of right-to-left alignment is wrong
My intention is to straighten to the right or to straighten to the left

Thanks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk2_combo.tar.gz
Type: application/gzip
Size: 12402 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220217/4140510a/attachment-0001.gz>


More information about the User mailing list