Bug 342610 [Forms] Form heading wraps text unexpectedly
Build Identifier: 20100218-1602 The form heading unexpectedly wraps heading text. A code snippet will be attached that defines a basic editor with a short form heading text string. When the editor is first displayed, there is a generous amount of horizontal space, more than sufficient to display the entire string, however, the last word form heading text appears to be truncated. If the editor is resized horizontally (shrunk), the last word of the form heading text will appear on the second line of the header. Incidentally, some longer heading text strings do not exhibit this problem. Reproducible: Always Steps to Reproduce: Display the editor defined by the attached code snippet. The last word form heading text appears to be truncated. When the editor is resized horizontally (shrunk), the last word of the form heading text will appear on the second line of the header.
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/ExpandableComposite.java
* Horizontal margin around the inside of the title bar area when TITLE_BAR
	 * or SHORT_TITLE_BAR style is used. This variable is not used otherwise.
	 * 
	 * @since 3.3
	 */
	public int titleBarTextMarginWidth = 6;
	/**
	 * The toggle widget used to expand the composite.
	 */
	protected ToggleHyperlink toggle;
	/**
	 * The text label for the title.
	 */
	protected Control textLabel;
	/**
	 * @deprecated this variable was left as protected by mistake. It will be
	 *             turned into static and hidden in the future versions. Do not
	 *             use them and do not change its value.
	 */
	protected int VGAP = 3;
	/**
	 * @deprecated this variable was left as protected by mistake. It will be
	 *             turned into static and hidden in the future versions. Do not
	 *             use it and do not change its value.
	 */
	protected int GAP = 4;
	static final int IGAP = 4;
	static final int IVGAP = 3;
	private static final Point NULL_SIZE = new Point(0, 0);
	private static final int VSPACE = 3;