wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

TreeGrid, trunks drawn in fixed color #164

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. look at source code in TreeGridItemRenderer.as
   line 305    trunk.graphics.lineStyle( 1, 0xFFFFFF, 0.5 );

   Am I correct, the line will always be white?

What is the expected output? What do you see instead?
  I expect to be able to change the line color.

What version of the product are you using? On what operating system?
  Flex 2.01, flexlib 2.4, XP sp3

Please provide any additional information below.

I suggest two approaches to fixing this.
1 Set the line color in style sheet, but then also have the option to
change the RGB of the pixels of the disclosureIcon to the style sheet color.
2 Count the pixels per distinct color value of the disclosureIcon, use the
color of the highest pixel count as the trunk color.

Thanks, Guy.

Original issue reported on code.google.com by guyboer...@gmail.com on 8 Oct 2008 at 3:19

GoogleCodeExporter commented 9 years ago

Original comment by dmcc...@gmail.com on 8 Jan 2009 at 6:00