SfTextInputLayout - unable to eliminate spacing

Hi, 
I'm having issue with SfTextInputLayout spacing. 

It was combination of SFTextInputLayout and SfNumericUpDown in the screenshot attachment.

A few problem here :
1. How to remove completely on the SfTextInputLayout inner padding
2. How to remove completely on the SfNumericUpDown padding
3. SfNumericUpDown input number seems being block by the Up and Down button

basically the padding control is stopping me from styling the output.
I had tried  InputViewPadding="0" and it's still not working.

Please assist on the issue.
Thanks.

Attachment: SfTextInputLayout_de70d404.zip

7 Replies 1 reply marked as answer

SS Sridevi Sivakumar Syncfusion Team August 25, 2020 03:43 PM UTC

Hi Jun,

Query: How to remove completely on the SfTextInputLayout inner padding 


We have internally provided some padding value around the leading and trialling view in the text input layout to differentiate views and good styling experience. So, you cannot modify the default padding value around the leading view.

You can remove the left side padding(excluding leading view padding) by setting the InputViewPadding=0. 

 
 
  
The right side has some space between numeric up down and text input layout(as highlighted in the below screenshot).

We have considered this as internal bug and this fix will be available in our September 8, 2020 weekly nuget. 
 
  
 
  
How to remove completely on the SfNumericUpDown padding and avoid input number being block

We have internally provided some padding for numeric up and down buttons on the right and left side. So, we can adjust this padding value and we suggest you increase the control width in order to avoid input number blocking.

For more information about InputViewPadding, please refer below KB
 
Sridevi S. 


 
 



JU Jun August 26, 2020 01:09 AM UTC

Hi Sridevi, 

Thanks for the prompt reply and explanation.
Understood on the leading view, numeric up and down button padding can't be adjusted.

I tried to apply WidthRequest on the SfNumericUpDown field but it seems didn't take effect as well :( 
Or the WidthRequest property only take effect on the outer hierarchy which is SfTextInputLayout ?



Thanks,
Jun.


SS Sridevi Sivakumar Syncfusion Team August 26, 2020 01:30 PM UTC

Hi Jun,

Thanks for your update.

Query: Understood on the leading view, numeric up and down button padding can't be adjusted.

Yes. Because of this readable UI appearance, we have maintained some default padding to get the desired view. 
 
  
Query:  Apply WidthRequest on the SfNumericUpDown field but it seems didn't take

We have checked the reported issue by setting WidthRequest value to the SfNumericUpDown which is content of SfTextInputLayout. It has been rendered with the provided width value as per in below.

Here provided WidthRequest as 200 along with its HorizontalLayoutOptions as Center for numeric text box 
 
  
   
  
Code snippet: 

 
        <inputLayout:SfTextInputLayout BackgroundColor="LightBlue"  IsEnabled="True" Margin="0" LeadingViewPosition="Inside" InputViewPadding="0">  
            <inputLayout:SfTextInputLayout.LeadingView>  
                <Label BackgroundColor="Red" Text="PACK" />  
            </inputLayout:SfTextInputLayout.LeadingView>  
            <numeric:SfNumericUpDown x:Name="numeric1" WidthRequest="200" HorizontalOptions="Center"  BackgroundColor="orange"  SpinButtonAlignment="Both" FontSize="12" Minimum="0" Value="100" />  
        </inputLayout:SfTextInputLayout>  
   
 QueryWidthRequest property only take effect on the outer hierarchy which is SfTextInputLayout  

Checked the same but it works fine as like in below  
  
 
Here provided WidthRequest as 200 along with its HorizontalLayoutOptions as Center for SfTextInputLayout

  
Code snippet:  
        <inputLayout:SfTextInputLayout BackgroundColor="LightBlue" HorizontalOptions="Center"   WidthRequest="200"   IsEnabled="True" Margin="0" LeadingViewPosition="Inside" InputViewPadding="0">  
            <inputLayout:SfTextInputLayout.LeadingView>  
                <Label BackgroundColor="Red" Text="PACK" />  
            </inputLayout:SfTextInputLayout.LeadingView>  
            <numeric:SfNumericUpDown x:Name="numeric3"  BackgroundColor="orange"  SpinButtonAlignment="Both" FontSize="12" Minimum="0" Value="100" />  
        </inputLayout:SfTextInputLayout>  

Sample link: https://www.syncfusion.com/downloads/support/forum/157245/ze/Sample2019057623
 

Please check the sample and let us know. 

Regards,
Sridevi S. 
 



JU Jun August 27, 2020 12:28 AM UTC

Hi Sridevi,

Thanks for the prompt reply.
Really appreciate your assistance.



Thanks,
Jun.


HM Hemalatha Marikumar Syncfusion Team August 27, 2020 11:03 AM UTC

Hi Jun, 
 
Thanks for your valuable feedback. 
 
Please let us know if you need further assistance, don’t hesitate to contact us. 
 
Regards,
Hemalatha M. 



SS Sridevi Sivakumar Syncfusion Team September 8, 2020 11:08 AM UTC

Hi Jun,

Sorry for this delay.

We are facing some technical hurdlesWe will resolve the “The right side has some space between numeric up down and text input layoutissue and it will be rolled out in Volume 3 release which is expected to be rolled out on end of September 2020.

Regards,
Sridevi S.
 



SS Sridevi Sivakumar Syncfusion Team October 5, 2020 06:09 AM UTC

Hi Jun,

We are glad to announce that our Essential Studio 2020 Volume 3 release v18.3.0.35 is rolled out and is available for download under the following link.

https://www.syncfusion.com/forums/158306/essential-studio-2020-volume-3-release-v18-3-0-35-is-available-for-download


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Sridevi S.
 


Marked as answer
Loader.
Up arrow icon