rupesh
rupesh

Reputation: 420

How to increase the space between the fields in VerticalFieldManager

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

Answers (2)

BBdev
BBdev

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

Michael B.
Michael B.

Reputation: 3430

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

Upvotes: 1

Related Questions