
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to put carriage return on button
I would like to put a dynamic text on a button, with many lines of text.
Something that would look like :
"INNOVATION
Innovation Sales 5765$ +24%
Innovation Products 14 "
where all numbers are measures. probably color-coded too to be red for negative.
This works well with a text &image item, but it cannot be clicked to redirect on the innovation sheet.
So I thought I could put all this on a button. I didn't succeed to line break. I tried & Chr(10) & Chr(13) but it didn't work ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same need for me, anyone found a solution ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same here. chr(10) does not work for buttons.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like a solution for this also.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bump, it appears the common "Qlik Sense Line Break" solution of using Char(10) & Char(13) does not work as a line break on button labels.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think the only solution is using CSS.
Try this:
1 - Get the id of your button object you want to change: right clik button on your object -> share -> Incorporate. And then you can see the ID_YOUR_BUTTON_OBJECT. Eg: wCmgk
2: add a multi-kpi object
3: add in your multi-kpi-object on appearence > styles this css code, with the ID of your object.
div[tid="ID_YOUR_BUTTON_OBJECT"] text span {
white-space: break-spaces !important;
font-size: initial;
}
https://www.linkedin.com/in/rodrigo-pennacchi/
