Welcome!

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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
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 ?

 

Thanks

Developer
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.
_________________________________________________
Apps
Go Music
Flashlight Fast Free/Pro
Fitbit for BlackBerry PlayBook
Developer
Posts: 35
Registered: ‎05-18-2011
My Device: BlackBerry 10 Dev Alpha, Blackberry 9700
My Carrier: -

Re: DropDown when opened pushes the layout down

Hello

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