Bug 176895 - [DateTime] Control should support SWT.FLAT style
Summary: [DateTime] Control should support SWT.FLAT style
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 2000
: P3 enhancement with 9 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-10 13:30 EST by Sebastian Fuchs CLA
Modified: 2021-11-12 11:46 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.