Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317564

Summary: DatepickerComposite: Button is not disabled, when set to outputonly
Product: [RT] Riena Reporter: Steffen Kriese <steffen.kriese>
Component: ridgetAssignee: Elias Volanakis <elias>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: christian.campo
Version: unspecified   
Target Milestone: 3.0.0.M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Showing the different visuable representations of a SWT-Combo and a DatepickerComposite, when set to outputonly none

Description Steffen Kriese CLA 2010-06-22 08:07:53 EDT
When a DatepickerComposite is set to outputonly, the Pickerbutton does not get disabled. Also the height of the DatepickerComposite is not identical to the height of a SWT-Combo. A SWT-Combo has a default height of 23 px and the DatepickerComposite is only 20 px.
Comment 1 Steffen Kriese CLA 2010-06-22 08:10:48 EDT
Created attachment 172407 [details]
Showing the different visuable representations of a SWT-Combo and a DatepickerComposite, when set to outputonly
Comment 2 Christian Campo CLA 2010-06-22 08:25:12 EDT
@Elias: maybe you can have a look at it.....
Comment 3 Elias Volanakis CLA 2010-06-24 02:28:07 EDT
- the button is not enabled but not clickable. I'll fix that (i.e. make it disabled)

- reg. height: in order to provide a specific answer I need a snippet... 

In general: the layout settings in the composite influence the height. Also: at least on Vista the various native widgets have somewhat different heights depending on their configuration (border, no border, layout), so I tend to view this as WONTFIX. Still, if you provide a snippet I look into it.
Comment 4 Elias Volanakis CLA 2010-06-25 16:28:32 EDT
Button enablement is resolved in HEAD.