Buttons text remains 'Left to Right' (RTL) when the game runs in 'Right to Left'

Started by Gal Shemesh, Tue 20/06/2023 11:22:23

Previous topic - Next topic

Crimson Wizard

Quote from: Gal Shemesh on Tue 22/08/2023 14:53:28Only came to checking this now in the current game of a friend which I finished migrating to 3.6.0. The text boxes are also showing the Hebrew text backwards. I just checked saving in Hebrew and realized that writing in the text box is backward... I guess it's the same as with the labels.

I'm sorry, I don't know what this means. Is it working as expected or not as expected? How is this related to the above quote?

Gal Shemesh

You suggested me in your first reply of this thread to also check how ListBoxes and TextBoxes are working in RTL. I only came to checking this today and wanted to update with feedback.

AGS 3.6.0 - When the game runs in RTL mode, same as with buttons labels that remain showing from LTR, the ListBoxes / TextBoxes also showing from LTR. So Hebrew must be written backwards in the editor in order to show it correctly in runtime.

I've just checked it in the AGS Editor .NET (Build 3.6.1.4) ** BETA VERSION ** v3.6.1 from July 2023 and it appears to be solved - Hebrew in ListBoxes / TextBoxes is showing correctly from RTL. So I expect it to be okay in the next stable release.
Gal Shemesh,
goldeng

Crimson Wizard

I was not certain what does "backward" means in this context; so it means backwards other way?
Expected behavior is that buttons, textboxes and listboxes are only given RTL support in 3.6.1. But labels were supposed to work correctly in 3.6.0.
Therefore, I still do not understand what you are saying about labels.

Gal Shemesh

Yes, correct - backwards; the Hebrew text in text boxes is showing from Left to Right instead of from Right to Left, even if the entire game is set to show text from Right to Left. And when I wrote 'same as with the labels' I meant the text of buttons - not the actual label element which shows correctly.

But it's okay, since in the 3.6.1 beta as far as I checked everything in this area is fixed. :)

Gal Shemesh,
goldeng

SMF spam blocked by CleanTalk