use of com.extjs.gxt.ui.client.util.Margins in project activityinfo by bedatadriven.
the class VSplitFrameSet method addNavigationPanel.
private void addNavigationPanel() {
BorderLayoutData layoutData = new BorderLayoutData(Style.LayoutRegion.WEST);
layoutData.setSplit(true);
layoutData.setCollapsible(true);
layoutData.setMargins(new Margins(0, 5, 0, 0));
container.add(getNavPanel(), layoutData);
}
use of com.extjs.gxt.ui.client.util.Margins in project activityinfo by bedatadriven.
the class AdminLevelPanel method addMissingPolygonMessage.
private void addMissingPolygonMessage() {
Text text = new Text(I18N.CONSTANTS.noPolygonsWarning());
Margins margin = new Margins(15, 15, 0, 0);
add(text, new FlowData(margin));
}
use of com.extjs.gxt.ui.client.util.Margins in project activityinfo by bedatadriven.
the class CollapsibleTabPanel method collapseTabs.
private void collapseTabs() {
tabPanelExandedSize = (int) layoutData.getSize();
layoutData.setSize(getBar().getHeight());
layoutData.setMargins(new Margins(0));
getBody().setVisible(false);
layoutData.setSplit(false);
tabPanelCollapsed = true;
getParentLayout().layout();
}
Aggregations