1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    118
    Vote Rating
    0
    Kutu is on a distinguished road

      0  

    Default [FIXED] setHideCollapseTool doesn't seem to work with BorderLayoutData

    [FIXED] setHideCollapseTool doesn't seem to work with BorderLayoutData


    Taken from the BorderLayoutExample.java:

    1) Try to hide the collapseTool of the North ContentPanel
    2) And at the same, make sure the BorderLayoutData.setCollapsible is set to true.

    Code:
    /*
     * Ext GWT - Ext for GWT Copyright(c) 2007, 2008, Ext JS, LLC. licensing@extjs.com http://extjs.com/license
     */
    package com.extjs.gxt.samples.client.examples.layouts;
    
    import com.extjs.gxt.ui.client.Style.LayoutRegion;
    import com.extjs.gxt.ui.client.util.Margins;
    import com.extjs.gxt.ui.client.widget.ContentPanel;
    import com.extjs.gxt.ui.client.widget.LayoutContainer;
    import com.extjs.gxt.ui.client.widget.layout.BorderLayout;
    import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;
    
    public class BorderLayoutExample extends LayoutContainer {
    
        public BorderLayoutExample() {
            setLayout(new BorderLayout());
    
            ContentPanel north = new ContentPanel();
            north.setHideCollapseTool(true);
            ContentPanel west = new ContentPanel();
            ContentPanel center = new ContentPanel();
            ContentPanel east = new ContentPanel();
            ContentPanel south = new ContentPanel();
    
            BorderLayoutData northData = new BorderLayoutData(LayoutRegion.NORTH, 100);
            northData.setCollapsible(true);
            northData.setFloatable(true);
            northData.setSplit(true);
            northData.setMargins(new Margins(5, 5, 0, 5));
    
            BorderLayoutData westData = new BorderLayoutData(LayoutRegion.WEST, 200);
            westData.setSplit(true);
            westData.setCollapsible(true);
            westData.setMargins(new Margins(5));
    
            BorderLayoutData centerData = new BorderLayoutData(LayoutRegion.CENTER);
            centerData.setMargins(new Margins(5, 0, 5, 0));
    
            BorderLayoutData eastData = new BorderLayoutData(LayoutRegion.EAST, 200);
            eastData.setSplit(true);
            eastData.setCollapsible(true);
            eastData.setMargins(new Margins(5));
    
            BorderLayoutData southData = new BorderLayoutData(LayoutRegion.SOUTH, 100);
            southData.setSplit(true);
            southData.setCollapsible(true);
            southData.setFloatable(true);
            southData.setMargins(new Margins(0, 5, 5, 5));
    
            add(north, northData);
            add(west, westData);
            add(center, centerData);
            add(east, eastData);
            add(south, southData);
        }
    
    }

  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


    This is currently not supported within BorderLayout. It may will be in future versions.

  3. #3
    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


    Fixed in SVN.

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..."