开发者

How to increase the space between the fields in VerticalFieldManager

开发者 https://www.devze.com 2022-12-27 20:15 出处:网络
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

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

精彩评论

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