1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default display does not auto update?

    display does not auto update?


    i realized the display does not seem to update with new added widgets in a ContentPanel.

    not sure why. When i resize my window it can see the added widgets but it does not draw them before I resize.

    Is this a bug or am i suppose to call some redraw function

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    call layout();

  3. #3
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default


    I started to call layout to fix it but is this a bug or just gxt design?

  4. #4
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    layout is commonly required to re-layout a containers children... there is a an setLayoutOnChange option, but if you add/remove lots of children, this would be slow... so you have a choice on how to handle this issue

Thread Participants: 1