Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
149699 | Dec 5,2019 10:56 PM UTC | Dec 6,2019 08:48 AM UTC | Xamarin.Forms | 1 |
![]() |
Tags: SfNumericTextBox |
Hi Shaw Yu,
Greetings from Syncfusion.
We have prepared a simple sample using the provided code snippet. The HorizontalOptions are applied properly. We checked with SfNumericTextBox and also with Entry, both are behaving same. Please check the screenshot and code snippet.
Code Snippet:
<StackLayout>
<StackLayout Orientation="Horizontal"> <syncfusion:SfNumericTextBox FormatString="c" BackgroundColor="Aqua" HeightRequest="100" HorizontalOptions="CenterAndExpand" Value="123" /> <Label Text="Label1" BackgroundColor="Aqua" HeightRequest="50"/> <Label Text="Label2" BackgroundColor="Aqua" HeightRequest="50"/> </StackLayout>
<StackLayout Orientation="Horizontal"> <Entry HeightRequest="100" BackgroundColor="Aqua" HorizontalOptions="CenterAndExpand" Text="Entry" /> <Label Text="Label1" BackgroundColor="Aqua" HeightRequest="50"/> <Label Text="Label2" BackgroundColor="Aqua" HeightRequest="50"/> </StackLayout>
</StackLayout>
|
Screenshot:
Sample: https://www.syncfusion.com/downloads/support/forum/149699/ze/NumericTextBox_Horizontal-753406596.zip
If you are configuring anything different from the above, please revert us by modifying the sample to reproduce the issue, also please provide the issue screenshot if possible.
Regards,
Lakshmi R.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.