Reputation: 420
I am adding three CustomButtons in verticalFieldManager, but there is no spacing between the buttons. all are coming one after the other.
Upvotes: 1
Views: 483
Reputation: 4942
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.
Upvotes: 0
Reputation: 3430
use the method setPadding(int top, int right, int bottom, int left)
Upvotes: 1