1. #1
    Sencha Premium Member
    Join Date
    Mar 2007
    Posts
    55
    Vote Rating
    0
    nseb is on a distinguished road

      0  

    Default [CLOSED BETA 2] BorderLayout

    [CLOSED BETA 2] BorderLayout


    Hi,

    I have a big problem with collapsed panel , with borderlayout. The panel's title , see the picture here

    here the code :
    Code:
            viewport = new Viewport();
            viewport.setLayout(new BorderLayout());
    
            center = new ContentPanel();
            center.setHeaderVisible(false);
            center.setBorders(false);
            center.setLayout(new FillLayout());
    
            Image image = new Image();
            image.setUrl("http://www.techcrunch.com/wp-content/wix_shot1.png");
            image.addLoadListener(new LoadListener() {
    
                public void onError(Widget arg0) {
                }
    
                public void onLoad(Widget arg0) {
                    Window.alert("ok");
                }
            });
    
            image.setSize("200px", "200px");
            center.add(image);
    
            BorderLayoutData centerData = new BorderLayoutData(LayoutRegion.CENTER);
            centerData.margins = new Margins(0, 0, 5, 0);
            center.setData(centerData);
    
    
            BorderLayoutData data = new BorderLayoutData(LayoutRegion.WEST, 220, 150, 320);
            data.margins = new Margins(5, 5, 5, 5);
            data.collapsible = true;
            westPanel = new ContentPanel();
            westPanel.setHeading("Navigation");
            westPanel.setLayout(new FitLayout());
            westPanel.setData(data);
            westPanel.add(new Label("test"));
    
            ToolBar toolBar = new ToolBar();
            westPanel.setTopComponent(toolBar);
    
            viewport.add(westPanel);
            viewport.add(center, centerData);
    the problem is with firefox 2.0.0.14 and IE7 ; with beta 1 no problems
    Last edited by nseb; 30 Apr 2008 at 1:37 AM. Reason: css problems

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