use of com.extjs.gxt.ui.client.widget.layout.FitLayout in project activityinfo by bedatadriven.
the class PartnerFilterPanel method initializeComponent.
private void initializeComponent() {
setHeadingText(I18N.CONSTANTS.filterByPartner());
setIcon(IconImageBundle.ICONS.filter());
setLayout(new FitLayout());
setScrollMode(Style.Scroll.NONE);
setHeadingText(I18N.CONSTANTS.filterByPartner());
setIcon(IconImageBundle.ICONS.filter());
}
use of com.extjs.gxt.ui.client.widget.layout.FitLayout in project activityinfo by bedatadriven.
the class PartnerFilterDialog method initializeComponent.
private void initializeComponent() {
setHeadingText(I18N.CONSTANTS.filterByPartner());
setIcon(IconImageBundle.ICONS.filter());
setWidth(250);
setHeight(350);
setLayout(new FitLayout());
setScrollMode(Style.Scroll.NONE);
setHeadingText(I18N.CONSTANTS.filterByPartner());
setIcon(IconImageBundle.ICONS.filter());
}
use of com.extjs.gxt.ui.client.widget.layout.FitLayout in project activityinfo by bedatadriven.
the class BaseMapDialog method initializeComponent.
private void initializeComponent() {
setWidth(675);
setHeight(400);
setHeadingText(I18N.CONSTANTS.basemap());
setLayout(new FitLayout());
addStyleName("basemap-dlg");
setBodyBorder(false);
}
use of com.extjs.gxt.ui.client.widget.layout.FitLayout in project activityinfo by bedatadriven.
the class DrillDownEditor method createDialog.
private void createDialog() {
proxy = new DrillDownProxy(dispatcher);
store = new ListStore<>(new BaseListLoader(proxy));
grid = new Grid<>(store, buildColumnModel());
grid.setLoadMask(true);
dialog = new Dialog();
dialog.setHeadingText(I18N.CONSTANTS.sites());
dialog.setButtons(Dialog.CLOSE);
dialog.setLayout(new FitLayout());
dialog.setSize(WIDTH, HEIGHT);
dialog.add(grid);
dialog.addListener(Events.Move, new Listener<BaseEvent>() {
@Override
public void handleEvent(BaseEvent baseEvent) {
left = -1;
top = -1;
}
});
}
use of com.extjs.gxt.ui.client.widget.layout.FitLayout in project activityinfo by bedatadriven.
the class DbProjectGrid method createGridAndAddToContainer.
@Override
protected Grid<ProjectDTO> createGridAndAddToContainer(Store store) {
grid = new Grid<ProjectDTO>((ListStore) store, createColumnModel());
grid.setAutoExpandColumn("description");
grid.setLoadMask(true);
setLayout(new FitLayout());
add(grid);
return grid;
}
Aggregations