Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350190 - CalendarCombo Buttons overlap dates on Windows 7
Summary: CalendarCombo Buttons overlap dates on Windows 7
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nebula (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Emil Crumhorn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 16:49 EDT by Dan Healy CLA
Modified: 2021-07-05 11:41 EDT (History)
0 users

See Also:


Attachments
Image of CalendarCombo in Windows 7 theme and Windows Classic (33.23 KB, image/pjpeg)
2011-06-23 16:55 EDT, Dan Healy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Healy CLA 2011-06-23 16:49:52 EDT
Build Identifier: Build id: I20100608-0911

On Windows 7, with the Calendar Combo control, the buttons "Today" and "None" overlap the dates on the calender.  I will attach an image.  It looks like the font size chosen is a bit too large.  

Reproducible: Always

Steps to Reproduce:
1.Display a CalendarCombo in any Windows 7 there except Windows Classic
Comment 1 Dan Healy CLA 2011-06-23 16:55:54 EDT
Created attachment 198500 [details]
Image of CalendarCombo in Windows 7 theme and Windows Classic
Comment 2 Emil Crumhorn CLA 2011-09-24 12:03:11 EDT
This was open as a duplicate bug which was fixed.

I've added a general fix for Windows 7, however;

I cannot add theme detection in the code as it relies on AWT. That said, if you wish to do it locally (by overriding the getCalendarHeight() and getButtonsVerticalSpace() in the settings) here's some code for checking themes:

http://stackoverflow.com/questions/3659055/cant-detect-that-windows-classic-theme-active

Thanks!