Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help text always 1 single line in Ajax

Good day,

I have graphs with help text. Sometimes, my text is written on many lines.

With QV, I have no problem to display them on multiple lines.

2012-03-05_143450.png

In Ajax, the tool tip is ok with IE

2012-03-05_143642.png

but not with Chrome or Safari.

And not the message box : my text is displayed in a single line with all my browsers.

2012-03-05_143725.png

4 Replies
Miguel_Angel_Baeyens

Hi Nicolas,

Use the code Chr(10) & Chr(13) as follows: that should work. Even using only Chr(10) works with Ajax v11.

='First Line' & Chr(10) & Chr(13)

&'Second Line' & Chr(10) & Chr(13)

...

It works in my laptop with v11 and Chrome and IE using Ajax.

Hope that helps.

Miguel

Not applicable
Author

I'm using a v10 SR 4 version of the server

Not applicable
Author

That's a huge help for me, thanks!

I think it's fair to call the default behavior a bug; non-trivial captions being unreadable is not good default behavior.  I've opened an Idea for it, I'll record the URL back here if it's approved.

Not applicable
Author

Hrmm, not so great.  Using Char(10) & Char(13), I get no change in Firefox or Chrome.  IE, as usual, has its own unique way of being wrong: it does include line breaks, but doubles them, and adds extra blank lines after the last text line.

Here are some screen shots.  The left box is set to two lines, the right box is set to three.

The desktop (looks great):

Header Wrap Desktop.png

Chrome 17.0.963:

Header Wrap Chrome.png

Firefox 10.0.2:

Header Wrap Firefox.png

IE 8.0:

Header Wrap IE.png