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

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