Hi All,
I have a value for label of a textfield as “New Business Discount”.
However it is displaying in the interface in 2 lines as shown below.
New Business
Discount
The length of this label value is 19. Is there any possible way to hold this entire value of label in one line? Please let me know if any more information is needed.
Discussion posts and replies are publicly visible
No, but if you just want to display it, you can append the label with value and use it as value for text field in read only.
load(
local!a:10,
local!b:"New business amount "&local!a,
a!formlayout(
firstColoumnContent:{
a!textfield(
label:"",
value:local!b,
readOnly:true
}
)
Hi , You can also try rich text display field for your scenario: a!richTextDisplayField( value:{ a!richTextItem( text:"New Business Discount ", style: "STRONG" ), a!richTextItem( text:"value" ) } ) Instead of value above place your variable holding the value to be shown. Let me know if this works as per your requirement. Thanks.