This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235465 - Custom JXDateTimePicker.arrowIcon for Nimbus
Summary: Custom JXDateTimePicker.arrowIcon for Nimbus
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-03 17:12 UTC by Jaroslav Havlin
Modified: 2015-02-08 18:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed Patch (1.24 KB, patch)
2013-09-03 17:12 UTC, Jaroslav Havlin
Details | Diff
Screenshot (5.33 KB, image/png)
2013-09-04 10:01 UTC, matthias42
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Havlin 2013-09-03 17:12:08 UTC
Created attachment 139624 [details]
Proposed Patch

Window System related changes extracted from patch by Matthias42 for bug 233141:

> An override in nimbus LAF customizations for the Dropdown arrow for the
> datepicker (the nimbus one as approx. 10px transparent padding).

Standa, please evaluate it. Thank you.
Comment 1 Stanislav Aubrecht 2013-09-04 07:23:40 UTC
Matthias, please attach a screen shot showing the patch in action, thanks.

Btw, what is the reason for a special icon? The patch applies the icon to regular Nimbus l&f as well...
Comment 2 matthias42 2013-09-04 10:01:24 UTC
Created attachment 139645 [details]
Screenshot

The screenshot attached shows the old and new display. The first suffers from the problem, that the default drop-down icon in the datepicker is taken from the "Tree.expandedIcon" property. In the nimbus case the white space around the icon is asymmetric. This is the case for the dark and non-dark case.
Comment 3 Stanislav Aubrecht 2013-09-04 10:25:00 UTC
core-main d74509db8a7d

Thanks for the screenshot!
Comment 4 matthias42 2015-02-08 18:32:06 UTC
Verified in 8.0.2