1. #1
    Sencha User
    Join Date
    Aug 2010
    Location
    Italy
    Posts
    61
    Vote Rating
    0
    Crash Override is on a distinguished road

      0  

    Default Refresh problem?

    Refresh problem?


    I have the following problem:
    I added a GIF image to a ContentPanel to symbolize the loading of the response from tomcat server that I sent the request via a button.
    The first time I send the request, the GIF image is decentralized, but the second time then it centralizes perfectly. This is the code:

    Code:
    ContentPaneltest.removeAll();
    ContentPaneltest.layout();
                    
    LayoutContainer c = new LayoutContainer();  
    VBoxLayout layout = new VBoxLayout();  
    layout.setVBoxLayoutAlign(VBoxLayoutAlign.CENTER);  
    layout.setPack(BoxLayoutPack.CENTER);
    c.setLayout(layout);
                    
    Image test = new Image(Utils.URL_LOADING);
    c.add(test); 
                    
    ContentPaneltest.add(c);
    ContentPanel is initialized with the previously FitLayout.
    What's wrong?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,691
    Vote Rating
    107
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    You should post a fully working testcase that implements EntryPoint. There is probably an issue in the layoutchain.

Similar Threads

  1. Store Refresh problem
    By Hollywood in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 19 Jan 2010, 12:04 AM
  2. Problem with refresh
    By macistina in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 22 Jul 2009, 6:55 AM
  3. Refresh problem
    By Ajish in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 21 Nov 2008, 2:54 PM
  4. Refresh Problem -- HELP
    By mdlincoln in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 4 Jul 2008, 9:02 PM
  5. problem with refresh in IE 7
    By wglass in forum Ext 1.x: Bugs
    Replies: 7
    Last Post: 15 Feb 2007, 8:12 AM