Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
cgT
Contributor III
Contributor III

Line Break within button Title

Hi there,

I'm currently wanting to insert a line break within the title of a button, so the text behaves as though it is wrapped. So instead of this:

Transaction w/c 27/03/23

It would display in the button as:

Transaction

w/c 27/03/23

Thank you!

Labels (1)
3 Replies
SGV
Creator
Creator

Try like this:

'Transaction'&Chr(13)&w/c 27/03/23. Don't use the equal sign before the expression

Sabrina_V
Partner - Creator II
Partner - Creator II

Hello

 

the chr(13) or chr(10) doesn't work in the button. You need to do some css trick to do line break on the button. Please find the code below.

/* Retour à la ligne BOUTON */
div[tid="<id of the object>"] text span {
white-space: break-spaces !important;
font-size: 13px;
}

 

 

joaste
Contributor III
Contributor III

Could you clarify where to put the css in Qlik sense?