We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

LeadingView Icon position

Thread ID:





142100 Jan 18,2019 04:23 PM UTC Jan 28,2019 06:42 AM UTC Xamarin.Forms 3
Tags: SfTextInputLayout
Cesar Martinez
Asked On January 18, 2019 04:23 PM UTC

When I use a LeadingView icon with an Editor, the icon is placed in the middle of the height of the Editor. If the Editor grow bigger, the icon moves further down to the middle. How do I make it at the top?

Attachment: LeadingView_58a638b3.zip

Bharathiraja K [Syncfusion]
Replied On January 21, 2019 12:23 PM UTC

Hi Cesar, 
Greetings from Syncfusion. 
As per our control specification, it is not possible to change the vertical position of leading/trailing views to top. However, it is possible to achieve your requirement in sample level without using SfTextInputLayout's LeadingView. Please find the sample below here. 

Cesar Martinez
Replied On January 26, 2019 02:24 PM UTC

Thank you for the help. I was hoping to get the underline under the icon too, to get a uniform look between all the controls, but this will do.

Bharathiraja K [Syncfusion]
Replied On January 28, 2019 06:42 AM UTC

Hi Cesar, 
Thanks for your update. Let us know if you need any other assistance from us.  


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon