Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Hello

$
0
0
I need some input refer to
void isc.warn() (message[, callback, properties])

Test Machine :
SmartClient Version: v9.1p_2014-09-20/Pro Deployment (built 2014-09-20)
Chrome : Version 31.0.1650.63 m

Problem :
I need message to be displayed in one line instead of multi-line
Please check the snaps which is attached in post(each snap related to below code snippet result).

Tried width : *(start) /default without width property set result same
Code:

isc.warn(
                        "Window & Dialog components have a special mode for mobile devices",
                        {
                                width:'*',
                                buttons : [ Dialog.YES, Dialog.NO ]
                        }
                );

Tried width : '100%'
Code:

isc.warn(
                        "Window & Dialog components have a special mode for mobile devices",
                        {
                                width:'100%',
                                buttons : [ Dialog.YES, Dialog.NO ]
                        }
                );

Tried width : '460'
Code:

isc.warn(
                        "Window & Dialog components have a special mode for mobile devices",
                        {
                                width:460,
                                buttons : [ Dialog.YES, Dialog.NO ]
                        }
                );

width:460 results expected, setting retains same for other system warn calls.

Dialog.Warn static properties are used for isc.warn IINM, Please let us know how it can be achieved.


Thanks,
Anand L

Attached Images
File Type: png Star_.PNG (6.2 KB)
File Type: png 100Percent.PNG (6.0 KB)
File Type: png required.PNG (6.3 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles