Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Hello

    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 Files
    Last edited by anandlakshman; 25 Sep 2014, 02:08.

    #2
    These results are as expected ("*" is not a valid setting for width for a component that is not in a Layout) and you seem to have achieved the one-line display you are looking for.

    Did you have a further question?

    Comment


      #3
      Looking for proper solution

      Originally posted by Isomorphic View Post
      These results are as expected ("*" is not a valid setting for width for a component that is not in a Layout) and you seem to have achieved the one-line display you are looking for.

      Did you have a further question?
      Thanks for the response.

      If I use below code to get expected result.

      Code:
      isc.warn(
      			"Window & Dialog components have a special mode for mobile devices",
      			{
      				width:460,
      				buttons : [ Dialog.YES, Dialog.NO ]
      			}
      		);
      Problem : Above settings are updates to isc-core settings maybe, when further warn messages are called once after above code invoke, width retains as 460 for all other warning messages. It will not get reset to default width.

      I just want this settings for particular place, not for all the screens


      Thanks,
      Anand L

      Comment


        #4
        We've made a change to address this. Please try the next nightly build, dated Sep 27 or above

        Regards
        Isomorphic Software

        Comment


          #5
          Originally posted by Isomorphic View Post
          We've made a change to address this. Please try the next nightly build, dated Sep 27 or above

          Regards
          Isomorphic Software
          Chrome Ver:31.0.1650.63 m & IE
          SmartClient : v9.1p_2014-09-29/Pro Deployment (built 2014-09-29)

          Thanks for the Fix. its working as expected now

          Comment

          Working...
          X