Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 41
Registered: ‎10-16-2012
My Device: Bold 9000
My Carrier: Telus


I realize how to attach components to the left, right, top, bottom of their parent container but how do I attach them to another component.


So if I had myButton1 and myButton2 in a docklayout how would I attach myButton2's left side to myButton1's right side.


My over all layout is attempting to attach two buttons to the left side of the screen in a row and two to the right side of the screen in a row.  I guess I could make 2 seperate stacklayouts and then wrap them in a docklayout but that seems a little much.

Posts: 281
Registered: ‎05-31-2012
My Device: Playbook
My Carrier: o2

Re: Docklayout

as you said, use a stacklayout and add it to the docklayout.

this is the only way

Plase "+Like" my post if it was helpful.