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

Bug 256999

Summary: DateTime contol: sizing of Date differs from Carbon
Product: [Eclipse Project] Platform Reporter: Judy van Aswegen <judy>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: cocoakevin, grant_gayed, karsten.thoms, skovatch
Version: 3.5Keywords: triaged
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard: stalebug

Description Judy van Aswegen CLA 2008-11-30 17:52:30 EST
Builds: Eclipse SDK Mac OSX Cocoa N20081126-2000 (compared to Carbon N20081126-2000)

In the context of the SWT Controls Example, re the DateTime control:

Carbon may be smarter when it comes to displaying the Date style. 

Carbon: Using the default font, and size 10 x 10 plus Horizontal Fill, the date is quite legible - it appears as if the control is shrunk and numerals are centered.

Cocoa: Using the default font, and size 10 x 10 plus Horizontal Fill, the date is illegible - it appears as if a "Preferred" size Date control has been unskillfully cropped.
Comment 1 Judy van Aswegen CLA 2008-11-30 19:55:51 EST
Could this be symptomatic of a difference in implementation on a broader level? For example, change in size being implemented as scale versus crop-or-pad a default size. What does size specify for Carbon (size of the widget?); what does it specify for Cocoa (size of area in which a default sized-widget appears?). See related Bug 256950.  
Comment 2 Lakshmi P Shanmugam CLA 2017-07-04 07:42:26 EDT
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more
information.
Comment 3 Eclipse Genie CLA 2019-10-07 15:05:29 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Karsten Thoms CLA 2019-10-08 03:26:42 EDT
@Lakshmi: Can this be closed? It is related to unsupported WS Carbon. Is it triaged for Cocoa?