xamarin/Xamarin.Forms

Issues in RTL Xamarin Forms (UWP, Android, IOS and MacOS platform)

Aperta

#3611 aperta il 20 ago 2018

 (8 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/l10na/rtle/9 :clock9:help wantedinactivep/Androidp/UWPp/iOS 🍎partnert/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi Xamarin Team

Description

In Label set FlowDiretion as "RTL" then view not aligned properly in all platforms (with MacOS also).

In ScrollView We have found a strange issue in XF- UWP, the scrollbar is not position in the RTL but elements are layout properly.

In XF- Android, IOS platform, Elements are not position for RTL like if use label inside the scrollview. If use Numbers as label text, its layout properly. And also scrollbar is not position properly.

Steps to Reproduce

  1. Run the attached sample in UWP platform see the ScrollBar
  2. Run the attached sample in Andoid, IOS see the view, Text not aligned in RTL.

Expected Behavior

RTL working fine for ScrollView with all use cases

Actual Behavior

RTL doesn't work properly in all the cases for ScrollView .

In Label If setting FlowDirection as RTL for Label, the text are not align to right if text has more than one lines in all the platforms.

Basic Information

  • Version with issue: Xamarin.Forms v- 3.1.0.697729
  • IDE: Visual Studio 2017 version 15.7.4
  • Platform Target Frameworks: -Xamarin.Android SDK 8.1.5.0 (HEAD/75f8c6838) -Xamarin.Android Reference Assemblies and MSBuild support. -Xamarin.iOS and Xamarin.Mac SDK 11.6.1.4 (db807ec)
  • Android Support Library Version: 27.0.2.1
  • Nuget Packages: Xamarin.Forms -v- 3.1.0.697729
  • Affected Devices: All Android Devices

Sample File

Check_RTL.zip

Guida contributor