From f037ccfbac1b9b0d98325567696ff0d7b8e9cadc Mon Sep 17 00:00:00 2001 From: Carolyn MacLeod Date: Tue, 5 Jun 2012 15:11:57 -0400 Subject: Bug 378264 - Update CTabFolder JavaDoc --- .../common/org/eclipse/swt/custom/CTabFolder.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java index cdea83bc24..1f0716f728 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java @@ -3390,10 +3390,12 @@ public void setTopRight(Control control) { * right of the folder and it will have its default size. SWT.FILL * will size the control to fill all the available space to the right of the * last tab. If there is no available space, the control will not be visible. + * SWT.RIGHT | SWT.WRAP will allow the control to wrap below the + * tabs if there is not enough available space to the right of the last tab. *

* * @param control the control to be displayed in the top right corner or null - * @param alignment SWT.RIGHT or SWT.FILL + * @param alignment SWT.RIGHT or SWT.FILL or SWT.RIGHT | SWT.WRAP * * @exception SWTException