Community
Participate
Working Groups
Build ID: I20070209-1006 The new control org.eclipse.swt.widgets.DateTime should support the style flag org.eclipse.swt.SWT.FLAT to integrate well into forms. While a Control created with SWT.CALENDAR has already a flat look, this bug relates to the SWT.DATE and SWT.TIME styles only.
For better form integration it will be nice to add new method into the FormToolkit for creating such controls: DateTime createDateTime(Composite parent, Date value) Creates a DateTime as a part of the form. DateTime createDateTime(Composite parent, Date value, int style) Creates a DateTime as a part of the form.
Support for SWT.FLAT would also be great when using SWT.DROP_DOWN in 3.5 -- as of 3.5M6 the combobox is either shown with raised borders (on Windows Classic) or no borders at all.