Flowdirection property for text writing only

Haviv Elbsz 1,411 Reputation points

Hi all

My Maui application UI is LTR flowdirection .
I have checkboxses and labels and Entry control and Editor control.

And I have a button that changes the flowdirection between LTR RTL.

The problem is that when I change from LTR
direction to RTL direction.

the controls change side and location.

How I can force the flowdirection to apply
only to text writing without affecting controls
change side and location.

also the title of the picker is disappointing
when switching from LTR to RTL.

Thank you very much.

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,161 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 58,251 Reputation points Microsoft Vendor


    Do you want to keep controls' side and location when you set the Flowdirection to RightToLeft?

    If so, you can use HorizontalOptions to keep controls side and location. For example, you set FlowDirection="RightToLeft", but you need to keep the Label on the left. You can use the following code.

                   Text="Welcome to .NET MAUI!"  

    also the title of the picker is disappointing when switching from LTR to RTL.

    Does this title keep on the left in the popup window?

    As note: Ask one question at a time

    Best Regards,

    Leon Lu

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.