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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adjusting the height of the SfTextInputLayout

Thread ID:

Created:

Updated:

Platform:

Replies:

140814 Nov 8,2018 12:40 AM UTC Nov 9,2018 12:11 PM UTC Xamarin.Forms 3
loading
Tags: SfTextInputLayout
Solomon Fried
Asked On November 8, 2018 12:40 AM UTC

Is there a way to make the control shorter? I set ShowHint to false, but the space above the entry is still being used.
This makes the control twice as tall as I need it to be.

Thank you.

Michael Prabhu M [Syncfusion]
Replied On November 8, 2018 05:01 AM UTC

Hi Solomon, 
 
As the hint plays a primary role in this component, we have reserved some space at the top of the input view, to place the hint when floated.  Also, there is a space reserved at the bottom (below the line) for helper text, error text and character counter text. As error can be shown dynamically we have reserved this space for these assistive labels at the bottom of input view to avoid size changes when these labels appears/disappear.  
 
If the requirement is to reduce the height of the control, then we have already planned to provide the Support to collapse the bottom space, where separate API will be provided to choose whether to allocate space for helper text, error text and character counter label. It will be included in our upcoming Volume 4 release which is expected by the mid of December 2018.  
 
Thanks, 
Michael 
 
 


Solomon Fried
Replied On November 8, 2018 12:22 PM UTC

Thank you.

I will be looking for the Volume 4 release supporting a 'Collapsed' view. It would be nice to also collapse the top when the Hint is not being used.



Joy Oyiess Rex  K [Syncfusion]
Replied On November 9, 2018 12:11 PM UTC

Hi Solomon, 

 

Already we have a plan to reduce the current top padding size (space above the outline border).  Also, as mentioned in our previous update, we will expose an API to collapse the bottom space.  Both the mentioned improvements will be available in our upcoming volume release which is expected by the mid of December 2018.

Kindly share us an image representation of your requirement for the extra space in the control, so that we can validate your requirement with our plan.

 

Regards,

Joy Oyiess Rex K.


CONFIRMATION

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

or the page will be automatically redirected to 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

;