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

Benoît Minisini g4mba5 at gmail.com
Fri Feb 18 00:11:11 CET 2022


Le 17/02/2022 à 21:06, Mayost Sharon a écrit :
> 
> 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
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

Hi,

Please test the last commit. It should fix text alignemnt for control 
written in Gambas. Text alignement should already be correct for native 
controls (ComboBox, TextBox, TextArea...).

Regards,

-- 
Benoît Minisini


More information about the User mailing list