开发者

Create a custom PictureScrollField

I want to create a custom PictureScrollField to manage the distance between the images. When using it, and specifying different HighlightStyles,开发者_JS百科 I can obtain what I want but I want to change the space between the images. I didn't find any function to minimize the space between them or set it to 0 or -10 for example. How can I do this. I thought creating a custom PictureScrollField will resolve this but I don't know what I will have to put in the paint(Graphics) function. Using Super.paint will not make this.

So how can I realize this using PictureScrollField?

Thanks


Did you look at PictureScrollField.setImageDistance(int gap); ? It isn't available until OS 6.0 so if you are using OS 5.0 you may be out of luck.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜