Search in sources :

Example 11 with Margins

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);
}
Also used : BorderLayoutData(com.extjs.gxt.ui.client.widget.layout.BorderLayoutData) Margins(com.extjs.gxt.ui.client.util.Margins)

Example 12 with Margins

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));
}
Also used : FlowData(com.extjs.gxt.ui.client.widget.layout.FlowData) Margins(com.extjs.gxt.ui.client.util.Margins) Text(com.extjs.gxt.ui.client.widget.Text)

Example 13 with Margins

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();
}
Also used : Margins(com.extjs.gxt.ui.client.util.Margins)

Aggregations

Margins (com.extjs.gxt.ui.client.util.Margins)13 BorderLayoutData (com.extjs.gxt.ui.client.widget.layout.BorderLayoutData)7 ContentPanel (com.extjs.gxt.ui.client.widget.ContentPanel)2 Text (com.extjs.gxt.ui.client.widget.Text)2 ButtonEvent (com.extjs.gxt.ui.client.event.ButtonEvent)1 Size (com.extjs.gxt.ui.client.util.Size)1 Component (com.extjs.gxt.ui.client.widget.Component)1 Button (com.extjs.gxt.ui.client.widget.button.Button)1 FitLayout (com.extjs.gxt.ui.client.widget.layout.FitLayout)1 FlowData (com.extjs.gxt.ui.client.widget.layout.FlowData)1 FormData (com.extjs.gxt.ui.client.widget.layout.FormData)1 RowData (com.extjs.gxt.ui.client.widget.layout.RowData)1 VBoxLayout (com.extjs.gxt.ui.client.widget.layout.VBoxLayout)1 Filter (org.activityinfo.legacy.shared.command.Filter)1 PivotFilterPanel (org.activityinfo.ui.client.component.report.editor.chart.PivotFilterPanel)1 PivotGridPanel (org.activityinfo.ui.client.component.report.view.PivotGridPanel)1