ITeye博客

Flex 滚动条样式设置

hanyi366 · 2012-04-27 18:00 · Flex · 编程语言 · Markdown

滚动条滚动慢问题:verticalLineScrollSize设置大些,建议15

滚动条定位设置 verticalScrollPosition, horizontalScrollPosition

 

/*

下面箭头的样式

*/

downArrowUpSkin:

Embed(source="icons/hsthumb.gif");

downArrowOverSkin:

Embed(source="icons/hsthumb.gif");

downArrowDownSkin:

Embed(source="icons/hsthumb.gif");

/*

上面箭头的样式

*/

upArrowUpSkin:

Embed(source="icons/hsthumb.gif");

upArrowOverSkin:

Embed(source="icons/hsthumb.gif");

upArrowDownSkin:

Embed(source="icons/hsthumb.gif");

/*

中间条的样式

*/

thumbDownSkin:

Embed(source="icons/hsthumb.gif",

scaleGridLeft="7", scaleGridTop="5",

scaleGridRight="8", scaleGridBottom="7");

thumbUpSkin:

Embed(source="icons/hsthumb.gif",

scaleGridLeft="7", scaleGridTop="5",

scaleGridRight="8", scaleGridBottom="7");

thumbOverSkin:

Embed(source="icons/hsthumb.gif",

scaleGridLeft="7", scaleGridTop="5",

scaleGridRight="8", scaleGridBottom="7");

 

/*

中间的样式

*/

trackSkin:

Embed(source="icons/hsthumb.gif",

scaleGridLeft="7", scaleGridTop="4",

scaleGridRight="8", scaleGridBottom="6");

}

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。