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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top