| Summary: | Remove border around the DateTime DropDown calendar | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Arun Thondapu <arunkumar.thondapu> |
| Component: | SWT | Assignee: | Alexander Kurtakov <akurtakov> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtakov |
| Version: | 4.1 | ||
| Target Milestone: | 4.7 M5 | ||
| Hardware: | All | ||
| OS: | Linux-GTK | ||
| See Also: |
https://git.eclipse.org/r/88126 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a4b954350b6ddc86e80d6e59e0274c8421fb7f49 |
||
| Whiteboard: | |||
New Gerrit change created: https://git.eclipse.org/r/88126 Gerrit change https://git.eclipse.org/r/88126 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a4b954350b6ddc86e80d6e59e0274c8421fb7f49 |
Build Identifier: I20110308-2000 The Paint code in popupShellEvent(Event event) that draws a black border around the popup calendar shell should be deleted AFTER verifying that removing the border looks better in all themes. Here is the code that should probably be deleted, plus where the Paint listener is added: case SWT.Paint: /* Draw black rectangle around popupCalendar */ Rectangle bounds = popupCalendar.getBounds(); Color black = getDisplay().getSystemColor(SWT.COLOR_BLACK); event.gc.setForeground(black); event.gc.drawRectangle(0, 0, bounds.width + 1, bounds.height + 1); break; Reproducible: Always