Results 1 to 4 of 4

Thread: How specify time for Info.display(...)?

  1. #1

    Default How specify time for Info.display(...)?

    In docs about Info it is said:
    Displays a message in the bottom right region of the browser for a specified amount of time.

    I need to have message box shown a little bit longer.

    So how I can specify that amount of time?

  2. #2

    Default Solution

    ?k. I got it.
    need to create InfoConfig, then setDisplay and pass that object to Info.display(infoConfig)

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    223

    Default

    Quote Originally Posted by animtor404 View Post
    In docs about Info it is said:
    Displays a message in the bottom right region of the browser for a specified amount of time.

    I need to have message box shown a little bit longer.

    So how I can specify that amount of time?
    You need a InfoConfig first. With that one you can call Info.display(..) :
    Code:
                DefaultInfoConfig config = new DefaultInfoConfig(title, message);
                config.setDisplay(timeInMillis);
                Info.display(config);

  4. #4
    Ext JS Premium Member
    Join Date
    Feb 2008
    Posts
    59

    Default

    Would it have been so hard for the GXT documentation folks to describe the API with at least:

    setDisplay
    public void setDisplay(int timeInMillis)

    ???

    Adding no further explanation besides:


    setDisplay
    public void setDisplay(int display)

    ... is not acceptable for a licensed product.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •