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 228367 - [dark] Common infrastructure for editor hints uses hard-coded colors
Summary: [dark] Common infrastructure for editor hints uses hard-coded colors
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks: 225542
  Show dependency tree
 
Reported: 2013-04-08 10:59 UTC by Stanislav Aubrecht
Modified: 2013-04-08 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Hints option window (61.62 KB, image/png)
2013-04-08 11:01 UTC, Stanislav Aubrecht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Aubrecht 2013-04-08 10:59:09 UTC
The text area for hint description in Options window uses CSS with hard-coded background and foreground colors so it doesn't look nice in dark-color themes. See attached screenshot.
Comment 1 Stanislav Aubrecht 2013-04-08 11:01:52 UTC
Created attachment 133364 [details]
Hints option window
Comment 2 Milutin Kristofic 2013-04-08 13:41:15 UTC
If I remove css file as it is in java hints, I have black background with black font. It is ok? Do you see java hints?
Comment 3 Stanislav Aubrecht 2013-04-08 13:45:25 UTC
(In reply to comment #2)
> If I remove css file as it is in java hints, I have black background with black
> font. It is ok? Do you see java hints?

This should do the trick:

descriptionTextArea.putClientProperty( JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE );
Comment 4 Milutin Kristofic 2013-04-08 14:20:38 UTC
Thank you.
http://hg.netbeans.org/jet-main/rev/a535fb8bdba3