开发者

How to increase the space between the fields in VerticalFieldManager

I am adding three CustomButtons in开发者_如何学C verticalFieldManager, but there is no spacing between the buttons. all are coming one after the other.


use the method setPadding(int top, int right, int bottom, int left)


you can also do it by using Field.setMargin (int Top, int Right, int Bottom, int Left) method. You may find articles on this forum debating if undocumented functions should be used or not but setMargin() has even been used in RIM's own examples so I doubt there is any problem with using it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜