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

SfTextInputLayout TrailingView too small

Thread ID:





146301 Jul 30,2019 12:03 PM UTC Aug 1,2019 01:38 PM UTC Xamarin.Forms 3
Tags: SfTextInputLayout
Asked On July 30, 2019 12:03 PM UTC


I've tried to implement a ComboBox inside a TextInputLayout with a button next to it to clear the input. Unfortunatly, I can't find a way to increase the size of the TrailingView and am stuck with a button only a few pixels in height. I tried to set HeightRequest and MinimumHeightRequest in XAML and tried to set the TrailingView directly as Button in the constructor. The TrailingView keeps to be just a few pixels high, not even high enough for a small text, because that would be unreadable. I am far from the nice big icons from the documentation.

Is there any way to increase the size of the TrailingView?


Rachel A [Syncfusion]
Replied On July 30, 2019 12:33 PM UTC

Hi Martin, 
Greetings from Syncfusion. 
We would like to let you know that we have restricted the size of leading and trailing view width to 24 pixels and overall margin is 12 as per the specification of material design.However, we have already logged a feature request for this requirement, and it can be tracked through our feedback portal below. 
Please cast your vote to make it count. We will prioritize the features every release based on the demands and we do not have immediate plan to implement this feature since we committed with already planned work. So, this feature will be available any of our upcoming release. We appreciate your patience until then. 
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal.  

Replied On July 31, 2019 09:11 AM UTC

Hi Rachel,

thanks, but I think I have already a problem with the existing TrailingView. I've researched this a bit and it seems it has to do that I tried to use a Button in the TrailingView. The Button then will be sized extremly small and unreadable. Is there any other way to use this than adding the Icon with a Label and adding a TabGestureRecognizer to the label?


Rachel A [Syncfusion]
Replied On August 1, 2019 01:38 PM UTC

Hi Martin, 
As we have mentioned earlier, the width of the trailing view is 24 pixels by default and overall margin is 12 as per the specification of material design. We cannot increase the size more than the above specified limit of the leading or trailing view. If you increase the size of the button more than the above limit, it will shrink within the trailing view size. We have already consider this as a feature request (feedback) and you can track the feature progress from the above link. We appreciate your patience until then. 


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