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:
parent
a4a8248eb5
commit
35c3c6ac4d
|
@ -149,6 +149,7 @@ public class LabelColumnPanel extends FramedPanel implements
|
||||||
});
|
});
|
||||||
|
|
||||||
VerticalLayoutContainer v = new VerticalLayoutContainer();
|
VerticalLayoutContainer v = new VerticalLayoutContainer();
|
||||||
|
v.setScrollMode(ScrollMode.AUTO);
|
||||||
|
|
||||||
v.add(columnsContainer, new VerticalLayoutData(1, -1, new Margins(1)));
|
v.add(columnsContainer, new VerticalLayoutData(1, -1, new Margins(1)));
|
||||||
v.add(change, new VerticalLayoutData(-1, -1, new Margins(10, 0, 10, 0)));
|
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.add(fl, layoutData);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
columnsLayoutContainer.onResize();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected ArrayList<FieldLabel> generateFields() {
|
protected ArrayList<FieldLabel> generateFields() {
|
||||||
|
@ -214,7 +216,6 @@ public class LabelColumnPanel extends FramedPanel implements
|
||||||
protected void updatePanel() {
|
protected void updatePanel() {
|
||||||
columnsLayoutContainer.clear();
|
columnsLayoutContainer.clear();
|
||||||
addFields();
|
addFields();
|
||||||
|
|
||||||
forceLayout();
|
forceLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue