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

SfCheckbox cuts the text on iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

141407 Dec 10,2018 03:34 PM UTC Oct 1,2019 06:14 AM UTC Xamarin.Forms 3
loading
Tags: SfCheckBox
Weronika Ziarkowska
Asked On December 10, 2018 03:34 PM UTC

Hello, 

I am facing an issue while using SfCheckBox on iOS. If the desription text is too long, it gets cut in the middle (e.g. instead of displaying 'I declare I have read and agreed to the terms' it would display 'I declare I...the terms'). I have tried to increase the HeightRequest of the control, but it does not make a difference (the text is still cut). On Android everything displays fine. Could you please help me solve this issue?

Thank you in advance,
Faithfully,
Weronika Ziarkowska

Paul Anderson S [Syncfusion]
Replied On December 11, 2018 11:36 AM UTC

Hi Weronika, 
 
Greetings from Syncfusion.  
 
We have achieved your requirement in sample level by changing the native control’s LineBreakMode as CharacterWrap in renderer. Please find the code snippet as below. 
 
Code Snippet: 
this.Control.LineBreakMode = UIKit.UILineBreakMode.CharacterWrap; 
 
Also, we have prepared the sample for the same. Please find the sample from the below link. 
 
 
Regards, 
Paul Anderson 


Goran Zidar
Replied On September 30, 2019 10:29 PM UTC

Hello all

Is there any chance that this could simply become a property of the checkbox control? Native xamarin forms Label has LineBreakMode property that works cross-platform without the need for custom renderer. Would it be possible to leverage that rather than have each app have to implement this on its own?

Regards

Goran

Muneesh Kumar G [Syncfusion]
Replied On October 1, 2019 06:14 AM UTC

Hi Goran, 
 
Yes, we have provided LineBreakMode support for SfCheckBox in our Vol 3 Beta release. Please download the release setup from the below link. 
 
 
Please refer the UG for more details about this feature. 
 
Please let us know if you have any other queries.  
 
Thanks,    
Muneesh Kumar G.   
 


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

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

;