cancel
Showing results for 
Search instead for 
Did you mean: 

BOLD OTR Text

Former Member
0 Kudos

Hello All,

Needed some info how could i make an OTR entry as Bold. I have a string as " my name is savita nandan om". i need to have an otr text for the same string which would always return me the traslated text in different languages in bold.

Regards,

Om

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Om,

the font weight (bold or normal) has nothing to do with the OTR text itself. You bind the value of an OTR text to a context attribute. Then you can create a text view on your view and bind it to that attribute. Afterwards set the design of that text view to "emphasized", now the text is displayed bold.

Hope that helps!

Please reward if answer was useful.

Kind regards, Matthias

Former Member
0 Kudos

Hello Matthias,

Thanks for your Answer. I have to implement this BOLD OTR text in a Confirmation Pop-up. I make use of the window_manager->create_popup_to_confirm method to achieve this.

Could let me know what i could do in this scenario.

Regards,

Om

former_member515618
Active Participant
0 Kudos

Hi Savita,

Unfortunately, there is no option to format the text on Conformation popup.

If it is part of your requirement, then you can create a view specifically for this message, format the UI elements accordingly and handle it in similar lines to confirmation popup.

Regards,

Sravan Varagani