Bug 228367 - [dark] Common infrastructure for editor hints uses hard-coded colors
[dark] Common infrastructure for editor hints uses hard-coded colors
Status: RESOLVED FIXED
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure)
7.4
All All
: P3 (vote)
: TBD
Assigned To: Milutin Kristofic
issues@editor
:
Depends on:
Blocks: 225542
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo