Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
AB01
Contributor II
Contributor II

Text Formatting - spaces above and below

Hi, I am trying to add spaces above and below in a text field using an expression. I have attached an example of how I want the format.

The top is the original, the bottom is how I want the format to look (with the spaces above and below). Any help is much appreciated. Thanks.

AB01_0-1638531838763.png

 

Labels (3)
1 Solution

Accepted Solutions
MarcoWedel

Centered vertical alignment is default in text objects and should deliver your required result.

To explicitly add empty lines to a string using an expression, you could however try something like:

=Chr(10)&'Text'&Chr(10)

hope this helps

Marco

View solution in original post

1 Reply
MarcoWedel

Centered vertical alignment is default in text objects and should deliver your required result.

To explicitly add empty lines to a string using an expression, you could however try something like:

=Chr(10)&'Text'&Chr(10)

hope this helps

Marco