Control[] children = composite.getChildren();
Rectangle carea = composite.getClientArea();
Control content = children[0];
Control label = children[1];
Point contentSize = content.computeSize(SWT.DEFAULT, SWT.DEFAULT);
Point labelSize = label.computeSize(carea.width - 2
- LABEL_MARGIN_WIDTH * 2, SWT.DEFAULT);
content.setBounds(carea.width / 2 - contentSize.x / 2, carea.height
/ 2 - contentSize.y / 2, contentSize.x, contentSize.y);
label.setBounds(LABEL_MARGIN_WIDTH, content.getLocation().y
+ contentSize.y + VERTICAL_SPACING, carea.width