Hi,
I have tested this problem on Android API versions 28 and 30.
UI Culture: en
UI Culture: ar
I hope it is apparent in the above picture that when the UICulture is Arabic, the + and - buttons are not aligned horizontally in the middle as they are when the UICulture is English.
I don't think my settings are causing this problem, and then it would be weird since they work correctly on iOS in both LTR and RTL modes and on Android when UICulture is LTR. But still, I am noting them below:
<sfNumericUpDown:SfNumericUpDown
Grid.Row="1"
Grid.Column="0"
BackgroundColor="{StaticResource ColorGrey7}"
BorderColor="{StaticResource ColorGrey6}"
FormatString="n0"
MaximumDecimalDigits="0"
Minimum="1"
SpinButtonAlignment="Both"
TextAlignment="Center"
TextColor="{StaticResource ColorBlack}"
Value="{Binding Model.Quantity}"
HorizontalOptions="Start"
VerticalOptions="Start">
<sfNumericUpDown:SfNumericUpDown.DecrementButtonSettings>
<sfNumericUpDown:UpDownButtonSettings ButtonFontColor="{StaticResource ColorGrey}" />
</sfNumericUpDown:SfNumericUpDown.DecrementButtonSettings>
<sfNumericUpDown:SfNumericUpDown.IncrementButtonSettings>
<sfNumericUpDown:UpDownButtonSettings ButtonFontColor="{StaticResource ColorGrey}" />
</sfNumericUpDown:SfNumericUpDown.IncrementButtonSettings>
</sfNumericUpDown:SfNumericUpDown>
Thanks in advance,
Sinan
Hi Osman,
We were able to reproduce the reported issue “SfNumericUpDown Buttons Is Align At Top When It is In RTL ” and we have confirmed this as a bug and logged a defect report. You can track the status of the bug from the below link.
Link: https://www.syncfusion.com/feedback/40360/sfnumericupdown-buttons-is-align-at-top-when-it-is-in-rtl
We will provide a patch for this issue on January 27th, 2023. We appreciate your patience until then.
Note: The provided feedback link is private, and you need to log in to view this feedback.
If you have any more specifications/precise replication procedures or a scenario to be tested, you can add them as a comment in the portal.
Regards,
Shivani
Hi Osman,
Thanks for your patience.
We have validated and fixed the reported issue “SfNumericUpDown Buttons Is Align At Top When It is In RTL ” in Xamarin SfNumericUpDown. Currently, the patch will generate in the main release version. Below are the patch and assemblies links,
Assembly version: 20.4.0.38
Assembly Link: https://syncfusion.com/Installs/support/patch/20.4.0.38/252936/F179945/SyncfusionPatch_20.4.0.38_252936_1272023050852165_F179945.zip
Disclaimer:
Please note that we have created this patch for version 20.4.0.38 specifically, to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.
Note: Please refer to the below link to apply the custom assembly
Note: Please clear the NuGet cache, before using the latest one.
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache
This fix will be included in the Feb 7th weekly release. We appreciate your patience until then.
Regards,
Arunachalam K
Hi Arunachalam,
I have tested the patch you have provided on Android in RTL mode; however, it didn't work.
Sinan
Hi Osman,
The reported issue may be due to your project referring to an old NuGet package from the cache. We've created a sample using a local assembly and were unable to reproduce the "SfNumericUpDown Buttons Aligned at Top in RTL" issue. Please refer to the attachment for the sample. Please download the sample and check on your side. If the issue persists, please provide additional information so we can better assist you.
Thanks,
Arunachalam K