Project

General

Profile

Defect #589

Only shows 6 lines of msg

Added by Juan C. Cristobo over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Target version:
Start date:
12/04/2012
Due date:
% Done:

100%

Estimated time:
Browser (if web client):
Chrome, Firefox

Description

I've this code:

var msg = "line 1<br> line 2<br> line 3<br> line 4<br> line 5<br> line 6<br> line 7<br> line 8<br>";
globals.DIALOGS.showInfoDialog('', pMsg, 'Ok');

The dialog is shown, but only shows the first 6 lines of the message. I've add the line:

globals[DIALOGS.setDialogHeight(500);

without success.


Files

dialogs_module.jpg (22.5 KB) dialogs_module.jpg Juan C. Cristobo, 12/04/2012 06:52 PM

History

#1

Updated by Robert Ivens over 11 years ago

When are you setting the height ? Can you show me some code sample (more than one line) ?

#2

Updated by Juan C. Cristobo over 11 years ago

The code I test is very simple, the function btn_mostrar is attached to a button:

function btn_mostrar()
{
    var msg = "line 1<br> line 2<br> line 3<br> line 4<br> line 5<br> line 6<br> line 7<br> line 8<br>";
    globals.DIALOGS.setDialogHeight(500);
    globals.DIALOGS.showInfoDialog('', msg, 'Ok');
}

I only see 6 lines (I've attached a snapshot)

#3

Updated by Robert Ivens over 11 years ago

  • Status changed from New to Closed
  • Target version changed from 1.5.2 to 1.5.3
  • % Done changed from 0 to 100

Found the issue, will be fixed in version 1.5.3

#4

Updated by Juan C. Cristobo over 11 years ago

It works, thanks!!

Also available in: Atom PDF