Bug 176895

Summary: [DateTime] Control should support SWT.FLAT style
Product: [Eclipse Project] Platform Reporter: Sebastian Fuchs <spacehorst>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: a_ilyin, mseele
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Sebastian Fuchs CLA 2007-03-10 13:30:28 EST
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.
Comment 1 Alexander Ilyin CLA 2008-02-23 08:17:21 EST
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. 
Comment 2 Eric Jain CLA 2009-04-29 13:49:20 EDT
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.