@ -90,11 +90,14 @@ public class GxtBorderLayoutPanel extends ContentPanel {
north . setHeaderVisible ( false ) ;
west . setHeaderVisible ( false ) ;
south . setHeading ( ConstantsPortlet . DETAILS ) ;
/ * south . setHeading ( ConstantsPortlet . DETAILS ) ;
south . setHeaderVisible ( false ) ;
south . setLayout ( new FitLayout ( ) ) ;
south . setLayout ( new FitLayout ( ) ) ; * /
east . setHeading ( ConstantsPortlet . DETAILS ) ;
east . setHeaderVisible ( false ) ;
east . setVisible ( false ) ;
east . setLayout ( new FitLayout ( ) ) ;
// south.setVisible(false);
}
@ -128,13 +131,12 @@ public class GxtBorderLayoutPanel extends ContentPanel {
BorderLayoutData centerData = new BorderLayoutData ( LayoutRegion . CENTER ) ;
centerData . setMargins ( new Margins ( 0 ) ) ;
BorderLayoutData eastData = new BorderLayoutData ( LayoutRegion . EAST , 150, 50 , 15 0) ;
BorderLayoutData eastData = new BorderLayoutData ( LayoutRegion . EAST , 430, 430 , 60 0) ;
eastData . setSplit ( true ) ;
eastData . setCollapsible ( true ) ;
eastData . setMargins ( new Margins ( 0 , 0 , 0 , 1 ) ) ;
eastData . setMargins ( new Margins ( 0 , 0 , 0 , 5 ) ) ;
BorderLayoutData southData = new BorderLayoutData ( LayoutRegion . SOUTH , 30 , 30 , 30 ) ;
southData . setSplit ( true ) ;
southData . setCollapsible ( false ) ;
@ -142,6 +144,7 @@ public class GxtBorderLayoutPanel extends ContentPanel {
north . add ( this . searchAndFilterContainer ) ;
north . setScrollMode ( Scroll . AUTOY ) ;
west . add ( this . expPanel ) ;
@ -191,10 +194,12 @@ public class GxtBorderLayoutPanel extends ContentPanel {
public void handleEvent ( BoxComponentEvent be ) {
expPanel . getAsycTreePanel ( ) . setSizeTreePanel ( expPanel . getWidth ( ) - 13 , expPanel . getHeight ( ) - 10 ) ;
// if(expPanel.getSmartFolderPanel()!=null)
// expPanel .getSmartFolderPanel().setSizeSmartPanel(expPanel.getWidth()-2, expPanel.getHeight()-29);
// expPanel east .getSmartFolderPanel().setSizeSmartPanel(expPanel.getWidth()-2, expPanel.getHeight()-29);
}
} ) ;
east . setScrollMode ( Scroll . AUTOY ) ;
add ( north , northData ) ;
add ( west , westData ) ;
@ -228,4 +233,8 @@ public class GxtBorderLayoutPanel extends ContentPanel {
public void collapseTreePanel ( ) {
west . collapse ( ) ;
}
public ContentPanel getEastPanel ( ) {
return east ;
}
}