开发者

Flex: Panel container loses borderSkin (embedded swf) when scrollbars appear

I've been asking around and googling like crazy, but can't figure this one out. I have a panel in a flex-AIR app with a borderSkin - an @Embed swf symbol. Everything looks good till the panel has enough children added to merit a 开发者_C百科scrollbar, at which point the borderSkin disappears, leaving only the default background color. Remove the children and the borderskin comes back. The swf symbol uses scale9 grids.

What am I doing wrong? Any ideas? Thanks in advance, Jeremy


I did find the answer from a friend. Apparently, the panel's background color disappears automatically when a custom borderskin is applied. However, when scrollbars are used, that background reappears - white being the default color - and fills the entire panel. Setting the panel's background alpha to 0 solves the problem.


I finaly cheated. I put my panel in a box and turned to off the scroll policy of my panel. Hope it could help. Cdkey22

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜