You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    joshb is on a distinguished road

      0  

    Default Layout Bug

    Layout Bug


    Using GXT from SVN, Mac, Hosted Mode / FF

    Add a content Panel, with FitLayout, TopComponent, and Buttons to a window using fitlayout. Doesn't render properly. Resizing the Window makes it render correctly (somewhere, some event is firing). Needless to say, this drives me crazy,

    Sample code:
    Code:
    public class T1 implements EntryPoint {
        
        public void onModuleLoad() {
            
            
            
            Window window = new Window();
            window.setSize(500,500);
    
            TestLayout2 tpt = new TestLayout2();
            window.setLayout( new FitLayout() );
            window.add(tpt);
            window.show();
        }
        
        
        
        public class TestLayout2 extends ContentPanel {
        
            public TestLayout2() {
        
                ContentPanel p = new ContentPanel();
                
                HtmlContainer header = new HtmlContainer("<div><h1>Title</h1></div>" );
                
                p.setTopComponent(header);
                
                Button b1 = new Button("First");
                
                p.addButton(b1);
                
                setLayout( new FitLayout() );
    
                HtmlContainer content = new HtmlContainer( "This is some text for some content");
                
                p.add( content );
                
                setLayout( new FitLayout() );
                add( p );
                
            }
        }
    }

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Renders fine for me. Are you sure that you use the latest revision? What gets rendered wrong for you?

  3. #3
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    joshb is on a distinguished road

      0  

    Default My apologies, works in FF, not in Safari

    My apologies, works in FF, not in Safari


    Sven,

    It works in FF, not in Safari (Mac, I assume also Windows). Sorry I got it wrong.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi