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

New Contributor
Posts: 9
Registered: ‎06-14-2012
My Device: Alpha device
My Carrier: B.

DropDown when opened pushes the layout down

Hi !


DropDrown widget has a strange behaviour when opened: it moves all the layout down to show options.


Is it possible to make options overlay other components instead of pushing them down ?



Posts: 207
Registered: ‎02-10-2011
My Device: Playbook 16GB and Z10
My Carrier: Verizon

Re: DropDown when opened pushes the layout down

Yes, but you will have to define a container for the drop down, set its background to black and change your layout from Stack to Dock.

Your screen layout is Stack by default which gives you the moving of components. Dock will statically place a component to not be moved unless otherwise specified by some kind of animations or whatever.
Go Music
Flashlight Fast Free/Pro
Fitbit for BlackBerry PlayBook
Posts: 35
Registered: ‎05-18-2011
My Device: BlackBerry 10 Dev Alpha, Blackberry 9700
My Carrier: -

Re: DropDown when opened pushes the layout down


Could you help me with this layout?


When I use DockLayout, one field lays on another, topMargin doesn't work


And if I use AbsoluteLayout and set it's position in pixels, the next field is drawn above this DropDown field (in opened state of the DropDown field), so I can't choose one of the options in the DropDown list.

And actually I don't like this situation when you should specify field's position in pixels(


My SDK version is:   BB10_0_09 Native SDK 386