View unanswered posts | View active topics


Reply to topic  [ 3 posts ] 
Leaf nodes in the Project Explorer have incorrect color. 
Author Message
Member

Joined: Wed Feb 11, 2009 12:13 pm
Posts: 14
Post Leaf nodes in the Project Explorer have incorrect color.
.net 4
win xp sp2

I changed the WindowText color property in my windows theme. But only folders in the Project Explorer are changed color. And leaf nodes (classes and other files) save the black color.
If the Window color property is changed to some dark color, it is rather difficult to recognize the black text in the tree.
I think this is a bug :)


Sat Jan 07, 2012 6:23 am
Profile
Member

Joined: Wed Feb 11, 2009 12:13 pm
Posts: 14
Post Re: Leaf nodes in the Project Explorer have incorrect color.
The following code I found in the FileNode.cs:
Code:
         if (Project.IsLibraryAsset(path))
         {
            ForeColorRequest = Color.Blue;
            LibraryAsset asset = Project.GetAsset(path);

            if (asset != null && asset.HasManualID)
               Text += " ("+asset.ManualID+")";
         }
         else ForeColorRequest = Color.Black;


Sat Jan 07, 2012 6:37 am
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10746
Location: Paris, France
Post Re: Leaf nodes in the Project Explorer have incorrect color.
Thanks, we try to use system colors but a few hard-coded values still happen from time to time :)


Sat Jan 07, 2012 7:12 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.