Updated Change Column Label

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@99398 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-09-02 14:28:39 +00:00
parent a4a8248eb5
commit 35c3c6ac4d
1 changed files with 2 additions and 1 deletions

View File

@ -149,6 +149,7 @@ public class LabelColumnPanel extends FramedPanel implements
});
VerticalLayoutContainer v = new VerticalLayoutContainer();
v.setScrollMode(ScrollMode.AUTO);
v.add(columnsContainer, new VerticalLayoutData(1, -1, new Margins(1)));
v.add(change, new VerticalLayoutData(-1, -1, new Margins(10, 0, 10, 0)));
@ -167,6 +168,7 @@ public class LabelColumnPanel extends FramedPanel implements
columnsLayoutContainer.add(fl, layoutData);
}
columnsLayoutContainer.onResize();
}
protected ArrayList<FieldLabel> generateFields() {
@ -214,7 +216,6 @@ public class LabelColumnPanel extends FramedPanel implements
protected void updatePanel() {
columnsLayoutContainer.clear();
addFields();
forceLayout();
}