use of org.netxms.ui.eclipse.dashboard.layout.DashboardLayout in project netxms by netxms.
the class DashboardControl method createContent.
/**
* Create dashboard's content
*/
private void createContent() {
setBackground(SharedColors.getColor(SharedColors.DASHBOARD_BACKGROUND, getDisplay()));
DashboardLayout layout = new DashboardLayout();
layout.numColumns = dashboard.getNumColumns();
layout.marginWidth = embedded ? 0 : 15;
layout.marginHeight = embedded ? 0 : 15;
layout.horizontalSpacing = 10;
layout.verticalSpacing = 10;
setLayout(layout);
for (final DashboardElement e : elements) {
createElementWidget(e);
}
}
Aggregations