Updated to Liferay 6.2
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@129657 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0665554cd5
commit
f2d02b8ef3
|
@ -66,7 +66,7 @@ public class GxtTreePanel extends LayoutContainer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initLayout() throws Exception {
|
private void initLayout() throws Exception {
|
||||||
setLayout(new FlowLayout(10));
|
setLayout(new FlowLayout(0));
|
||||||
treePanel = new TreePanel<FileModel>(store) {
|
treePanel = new TreePanel<FileModel>(store) {
|
||||||
@Override
|
@Override
|
||||||
public boolean hasChildren(FileModel parent) {
|
public boolean hasChildren(FileModel parent) {
|
||||||
|
@ -139,7 +139,7 @@ public class GxtTreePanel extends LayoutContainer {
|
||||||
// expand level 1
|
// expand level 1
|
||||||
treePanel.setExpanded(store.getRootItems().get(0), true);
|
treePanel.setExpanded(store.getRootItems().get(0), true);
|
||||||
|
|
||||||
add(treePanel, new FlowData(10));
|
add(treePanel, new FlowData(0));
|
||||||
addListeners();
|
addListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue