Minor update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-map-widget@101963 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9061e97da9
commit
1c394731cc
|
@ -51,7 +51,7 @@ public class MapWidgetConfigCard extends WizardCard {
|
|||
this.mapCreationSession = mapCreationSession;
|
||||
|
||||
FormPanel panel = createPanel();
|
||||
setContent(panel);
|
||||
setCenterWidget(panel);
|
||||
|
||||
}
|
||||
|
||||
|
@ -60,8 +60,8 @@ public class MapWidgetConfigCard extends WizardCard {
|
|||
panel.setLabelWidth(90);
|
||||
panel.getElement().setPadding(new Padding(5));
|
||||
|
||||
VerticalLayoutContainer content = new VerticalLayoutContainer();
|
||||
panel.add(content);
|
||||
VerticalLayoutContainer verticalLayout = new VerticalLayoutContainer();
|
||||
panel.add(verticalLayout);
|
||||
|
||||
// Export View Column
|
||||
viewColumnMapTrue = new Radio();
|
||||
|
@ -85,7 +85,7 @@ public class MapWidgetConfigCard extends WizardCard {
|
|||
"Use View Columns");
|
||||
fieldViewColumns.setLabelWidth(LABEL_WIDTH);
|
||||
fieldViewColumns.setLabelPad(LABEL_PAD_WIDTH);
|
||||
content.add(fieldViewColumns);
|
||||
verticalLayout.add(fieldViewColumns);
|
||||
|
||||
// Column Selection Grid
|
||||
mapColumnGridPanel = new ColumnDataGridPanel(this);
|
||||
|
@ -99,7 +99,7 @@ public class MapWidgetConfigCard extends WizardCard {
|
|||
|
||||
});
|
||||
|
||||
content.add(mapColumnGridPanel);
|
||||
verticalLayout.add(mapColumnGridPanel);
|
||||
|
||||
return panel;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,6 @@ import com.google.gwt.event.logical.shared.SelectionHandler;
|
|||
import com.google.gwt.event.shared.HandlerRegistration;
|
||||
import com.sencha.gxt.core.client.IdentityValueProvider;
|
||||
import com.sencha.gxt.core.client.Style.SelectionMode;
|
||||
import com.sencha.gxt.core.client.dom.ScrollSupport.ScrollMode;
|
||||
import com.sencha.gxt.core.client.util.Margins;
|
||||
import com.sencha.gxt.data.shared.ListStore;
|
||||
import com.sencha.gxt.widget.core.client.ContentPanel;
|
||||
|
@ -79,8 +78,8 @@ public class ColumnDataGridPanel extends ContentPanel implements
|
|||
grid.setColumnReordering(false);
|
||||
|
||||
VerticalLayoutContainer con = new VerticalLayoutContainer();
|
||||
con.setScrollMode(ScrollMode.AUTO);
|
||||
con.add(grid, new VerticalLayoutData(-1, -1, new Margins(0)));
|
||||
//con.setScrollMode(ScrollMode.AUTO);
|
||||
con.add(grid, new VerticalLayoutData(1, -1, new Margins(0)));
|
||||
setWidget(con);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue