Question

I'm using AS3 with Starling and Feathers. While using the Panel from feathers I have noticed that it has standard padding(10px X, 22px Y). I have no idea how to remove this. If i give the childeren of the panel a negative location it still uses this padding. Does anyone know how i can get rid of this padding?

TY in advance

Was it helpful?

Solution

The Panel class inherits Scroller, which has a padding method. Try modifying it.

Also you may need to check out the theme, and find the initializer for Panel class. There you can set this padding value.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top