1

我在verticalFieldManager 中添加了三个CustomButton,但是按钮之间没有间距。所有人都一个接一个地到来。

4

2 回答 2

1

使用方法setPadding(int top, int right, int bottom, int left)

于 2010-04-21T11:49:04.607 回答
0

你也可以通过使用Field.setMargin (int Top, int Right, int Bottom, int Left)方法来做到这一点。你可能会在这个论坛上找到一些文章,讨论是否应该使用未记录的函数,但它们setMargin()甚至已经在 RIM 自己的示例中使用过,所以我怀疑使用它是否有任何问题。

于 2011-07-27T12:48:52.330 回答