Project: SWT
Bug 36270 BIDI: Some custom widgets can't be created with explicitly assigned orientation.
Reported: 2003-04-09 05:52:26 | Status: resolved fixed

Each of custom widgets from following list: CCombo,CLabel,CTabFolder,SashForm, ScrolledComposite and ViewForm - filter styles, which are assigned to it, using it's own method checkStyle(). Only some current widget's specific styles remain after this filtering. One more widget, TableTree, doesn't work with assigned styles (only send them to Table, which is internaly used). In all cases "orientation" styles are removed before creating handle of widget, therefore these widgets can't be created with explicitly assigned orientation and only can inherit orientation from their parents.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/SashForm.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ScrolledComposite.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTree.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ViewForm.java