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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Justify text inside of A TextLabel

Thread ID:

Created:

Updated:

Platform:

Replies:

149223 Nov 19,2019 11:20 AM UTC Nov 25,2019 12:20 PM UTC Xamarin.Forms 4
loading
Tags: SfRichTextEditor
Taahir
Asked On November 19, 2019 11:20 AM UTC

Hi,

I would like to justify the text in my xamarin forms application but I'm not sure how to go about this or if I am using the right control. Is there perhaps a way a could go about this? The text is as follows: 


Kind Regards
Taahir 

Devaraj Sekar [Syncfusion]
Replied On November 20, 2019 10:38 AM UTC

Hi Taahir, 
 
Thank you for contacting Syncfusion support. 
 
The mentioned requirement “Justify text inside of A TextLabel” is achievable in “SfRichTextEditor” using Alignment enum in ToolbarOptions. You can apply justification programmatically for the selected value in Rich Text Editor using AlignFull() method in API level. 
 
Toolbar with Alignment option: 
 
 
Kindly, let us know if you require any further assistance. 
 
Regards, 
Devaraj S 


Taahir
Replied On November 20, 2019 01:20 PM UTC

Hi,

Thanks for your reply. 

How can we set the following properties in Xaml: 

1. Background colour of the editor area.
2. Text colour of the editor area.
3. Font of the text in the editor.
4. Justification of the text. 

What we would like to achieve is the same as in the image previously shown but with full justification. 

This is what we currently have:


Devaraj Sekar [Syncfusion]
Replied On November 21, 2019 11:34 AM UTC

Hi Taahir, 
  
Thank you for the update. 
  
S. No 
Query 
Answer 
1.         
 Text colour of the editor area.  
The text color or Font color of RichTextEditor can be customized using FontColor and BackColor support in toolbar enum in ToolbarOptions.  
You can apply font color and back color programmatically for the selected value in Rich Text Editor SetFontColor() method and SetHighlightColor() in API level.  
2.         
Justification of the text.  
The mentioned requirement “Justify text inside of A TextLabel” is achievable in “SfRichTextEditor” using Alignment enum in ToolbarOptions. You can apply justification programmatically for the selected value in Rich Text Editor using AlignFull() method in API level.  
3.         
Font of the text in the editor.  
The requirement is already planned in our feature list which has been planned to add in any of our upcoming Essential Studio main release. The status of the mentioned support implementation can be tracked in the below link. 
  
4.         
Background colour of the editor area  
We are currently analyzing the feasibility of the mentioned support and will update you further details on 25 November 2019. 
  
Kindly, let us know if you require any further assistance. 
  
Regards, 
Devaraj S 


Devaraj Sekar [Syncfusion]
Replied On November 25, 2019 12:20 PM UTC

Hi Taahir, 
  
Thank you for your patience. 
  
We have checked the feasibility of implementing the mentioned feature “Background colour of the editor area”. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. We don’t have any immediate plans to implement this feature considering other high priority commitments. At the planning stage for every release cycle, we review all open features. We will let you know when this feature is implemented. The status of implementation can be tracked through our Features Management System. 
  
  
Regards, 
Devaraj S 


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

Live Chat Icon For mobile
Live Chat Icon