Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Sep 2009
    Posts
    8
    Vote Rating
    0
    rniamo is on a distinguished road

      0  

    Default i'm lost in layouts

    i'm lost in layouts


    hi, i'm trying to create a simple graphical interface with one menu, two side panel and one center big panel. I would like to make it resizable.

    Here is my code :

    Code:
    public ExtJSTest() {
            setLayout(new FitLayout());
            setHeight(Window.getClientHeight());
    
            add(all());
        }
    
        private ContentPanel all() {
            ContentPanel container = new ContentPanel();
            container.setLayout(new BorderLayout());
    
            ContentPanel center = new ContentPanel();
            center.setHeading("Rniamo's tests");
            center.setScrollMode(Scroll.AUTO);
            center.add(new DrawerPanel());
    
            BorderLayoutData northData = new BorderLayoutData(LayoutRegion.NORTH,75);
            northData.setCollapsible(false);
            northData.setFloatable(false);
            northData.setHideCollapseTool(true);
            northData.setSplit(false);
    
            BorderLayoutData westData = new BorderLayoutData(LayoutRegion.WEST, 150);
            westData.setSplit(true);
            westData.setCollapsible(true);
    
            BorderLayoutData eastData = new BorderLayoutData(LayoutRegion.EAST, 150);
            eastData.setSplit(true);
            eastData.setCollapsible(true);        
            
            BorderLayoutData centerData = new BorderLayoutData(LayoutRegion.CENTER);
    
            container.add(createMulti(), northData);
            container.add(tree(), westData);
            container.add(center, centerData);
            container.add(new ContentPanel(), eastData);
            
            return container;
        }
    How to make it resizable simply.

    Thanks to any help.

  2. #2
    Ext User
    Join Date
    Sep 2009
    Posts
    8
    Vote Rating
    0
    rniamo is on a distinguished road

      0  

    Default


    it works with a viewport but it is slow

  3. #3
    Ext GWT Premium Member
    Join Date
    Mar 2009
    Posts
    226
    Vote Rating
    3
    The_Jackal is on a distinguished road

      0  

    Default


    Hi,

    I use border layout a lot in a viewport (and in a GXT window). It's not slow (except maybe in hosted mode, but then everything is slow!).

    If you want to post your a full example, I can take a look.

    You may want to consider using a ToolBar for the menu

    Regards,
    Carl

  4. #4
    Ext User
    Join Date
    Sep 2009
    Posts
    8
    Vote Rating
    0
    rniamo is on a distinguished road

      0  

    Default


    in fact after having retesting i think it was slow because i didn't compile it before running it, now it is normal.

Thread Participants: 1