int spacer = gc.stringExtent(" ").x; //$NON-NLS-1$
String str = text.getText();
int textWidth = 50;
if (str != null && str.length() > 0)
textWidth = gc.stringExtent(str).x;
gc.dispose();
Point textSize = text.computeSize(SWT.DEFAULT, SWT.DEFAULT, changed);
Point arrowSize = arrow.computeSize(SWT.DEFAULT, SWT.DEFAULT, changed);
int borderWidth = getBorderWidth();
height = Math.max(textSize.y, arrowSize.y);