1. #1
    Ext User
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    38
    Vote Rating
    0
    staffan is on a distinguished road

      0  

    Default Overlapping popup messages

    Overlapping popup messages


    I've discovered that the popup messages generated with Info.display(InfoConfig) always are displayed at the lowest available slot on the screen. If you display a number of messages in a sequence, they will not neccesary be displayed in the right order, after each other, on the screen. If an old message at the bottom of the screen is removed, the new will take its place instead of the slot at the highest position.

    I think this behaviuor is confusing and not optimal. Wouldn't it be better to always show the newest message at the top?

    Another side effect of the current solution is that if you display several InfoMessages with different size, the will sometimes overlap each other when a small message is removed from the bottom of the screen and a new is added with a larger size.

    I'm using the official release of GXT 1.1

    To reproduce:
    Make a test application that calls this method a sveral times with short time interval and with different settings on height

    Code:
    public static void showInfoMessage(int height) {
     InfoConfig conf = new InfoConfig("Information", "message");
     conf.display = 15000;
     conf.height = height;
     conf.width = 250;
     Info.display(conf);
    }

  2. #2
    Ext GWT Premium Member
    Join Date
    Jun 2009
    Posts
    1
    Vote Rating
    0
    adistasi is on a distinguished road

      0  

    Default


    Anyone found a solution for this?

  3. #3
    Ext User
    Join Date
    Oct 2010
    Posts
    1
    Vote Rating
    0
    Youri is on a distinguished road

      0  

    Default


    I'll be interested as well, the expected behavior would actually be to move the messages to the bottom as the older ones disappear.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar