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

Mayost Sharon sharon at 455.co.il
Sun Jan 23 12:20:44 CET 2022


Hello

I installed the version:
Gambas 3 version on / trunk
On Mint
As he suggested to me: Bruce Steers

I created a new GTK + 3 project
I put on a form: a combobox control
I set the Direction property=RightToLeft
And the control still remains from left to right:
1. If I write text "1234" it is still written close to the left
2. Even the control itself is still visible as left to right because I see the button of the combo box is on the right side and not on the left side

I enclose an example of what it looks like in HTML

Thank you

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

> Le 11/01/2022 à 14:46, Mayost Sharon a écrit :
> > Hello
> > 
> > Is there any way to incorporate mixed right-to-left support in GTK or QT implementation
> > 
> > In the GTK documentation as well as in the QT documentation I see that they support for all their controls can be done RTL or LTR direction
> > To each control on its own
> > 
> > Thank you
> > On the investment a lot
> >
> 
> Hi,
> 
> Right-to-left text direction support at control level has been 
> implemented in master.
> 
> You have now two properties:
> 
> - 'Control.Direction' that defines the text direction of the control, 
> and all its children.
> 
> - 'Control.RightToLeft' that returns if a control is right-to-left oriented.
> 
> Regards,
> 
> -- 
> Benoît Minisini
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
------- End of Original Message -------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220123/abc1c823/attachment.html>


More information about the User mailing list