Bug 239300 [TabbedProperties] underline missing from tab label when tab has focus
bundles/org.eclipse.ui.views.properties.tabbed/src/org/eclipse/ui/internal/views/properties/tabbed/view/TabbedPropertyList.java
widestLabelIndex = 0;
			for (int i = 0; i < children.length; i++) {
				elements[i] = new ListElement(this, (ITabItem) children[i], i);
				elements[i].setVisible(false);
				elements[i].setLayoutData(null);
				if (i != widestLabelIndex) {
					String label = ((ITabItem) children[i]).getText();
					int width = getTextDimension(label).x;
					if (((ITabItem) children[i]).getImage() != null) {
						width = width + 16 + 5;
					}
					if (((ITabItem) children[i]).isIndented()) {
						width = width + INDENT;
					}
					if (width > getTextDimension(((ITabItem) children[widestLabelIndex])
							.getText()).x) {
						widestLabelIndex = i;
					}
				}
			}
		}
		computeTopAndBottomTab();
	}
	/**
	 * Selects one of the elements in the list.
	 * 
	 * @param index
	 *            the index of the element to select.
	 */
	protected void select(int index) {