PDA

View Full Version : Help with ListBox border


cb604
08-26-2005, 08:07 PM
Hey guys, first time posting. I seem to have trouble with a ListBox component that I'm using.

Here's the code I use to make everything black:


// New Style for the UI components
myStyle = new FStyleFormat();

myStyle.textColor = 0x8AA01C;
myStyle.arrow = 0x8AA01C;
myStyle.face = 0x000000;
myStyle.shadow = 0x000000;
myStyle.darkshadow = 0x000000;
myStyle.highlight = 0x000000;
myStyle.highlight3D = 0x000000;
myStyle.scrollTrack = 0x000000;
myStyle.background = 0x000000;
myStyle.backgroundColor = 0x000000;
myStyle.borderColor = 0x000000;
myStyle.focusRectOuter = 0x000000;
myStyle.focusRectInner = 0x000000;
myStyle.foregroundDisabled = 0x000000;
myStyle.backgroundDisabled = 0x000000;

myStyle.addListener(spnList);

myStyle.applyChanges();


But what happens is I end up with this tiny border around my list box and it's driving me nuts because no settings that I use above can set the color to all black.

The enclosed iamge shows the borders that I'm talking about. If anyone can help me out with this, that would be just super!

indolicious
09-17-2005, 02:19 AM
Wow sometimes this board is really dead, well in short you have to edit the listbox and edit the boundinbox. I did it myself with aplha on 100. Or just use the delete button ;)
There is a way to do it with actionscript but it is much simpeler this way.