Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Larger text object contains less text...

Hi, i am new qlikview an ran into this behaviour:

I made a text object containing an expression.

I copy-pasted it and gave it different widths.

The larger one contains less text!

Pic:

QV_bug_textObjWidth.PNG

Am I doing something wrong or is this a bug?

Thanks

-Nick

Labels (1)
1 Solution

Accepted Solutions
m_woolf
Master II
Master II

I would have written it like this:

='Line 1' & chr(10) & ''Line 2' & chr(10) & 'Line 3'

View solution in original post

5 Replies
shambhub
Creator
Creator

Hey nir,

just go and change Font in "Text Object", dats it 

Not applicable
Author

The font type doesn't change anything but I get other weird behaviours:

- Making the font smaller sometimes shows less text

- Making the font larger shows more text

QV_bug_textObjWidth2.PNG

What the?

Not applicable
Author

Hi Nick,

seems to be a strange behaviour (or even a bug) when using the newline-char (\n). As a workaround replace the "\n" with a real newline similar to this:

='This is the first line \n' & 'and this second'

-->

='This is the first line

' & 'and this second'

It looks a bit funny but it should help.

Roland

Not applicable
Author

Indeed, it looks like a bug but your workaround works perfectly.

Thanks

m_woolf
Master II
Master II

I would have written it like this:

='Line 1' & chr(10) & ''Line 2' & chr(10) & 'Line 3'