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
Highlighted
New Developer
Posts: 31
Registered: ‎06-13-2014
My Device: Z30
My Carrier: Telus
Accepted Solution

Title Bar Pushes Main Screen Container Down on Q10

My app uses a free-form title bar and a container with dock layout filling the screen for the main window content. The dock layout container has an ImageView positioned at the bottom of the container (i.e. at the bottom of the screen). On the Z10 and Z30 this works fine - the title bar and the bottom image are both visible. On the Q10 the main window dock container gets pushed down when the title bar is visible so the bottom image is pushed out of the visible area. The screen can be 'pushed up' to reveal the bottom image, but the title bar is then pushed up out of sight.

Can anyone tell me how to correct this so that the title bar and the bottom image are both visible?

 

 

 

Developer
Posts: 161
Registered: ‎01-03-2013
My Device: n/a
My Carrier: n/a

Re: Title Bar Pushes Main Screen Container Down on Q10

Try this:

 

titleBar: TitleBar {
 scrollBehavior: TitleBarScrollBehavior.Sticky
}
 

 

Regards.

If my answer has been useful to you, please, click the button
New Developer
Posts: 31
Registered: ‎06-13-2014
My Device: Z30
My Carrier: Telus

Re: Title Bar Pushes Main Screen Container Down on Q10

That fixed it. Thank you.

Developer
Posts: 33
Registered: ‎01-08-2013
My Device: Z10 LE
My Carrier: Vodafone

Re: Title Bar Pushes Main Screen Container Down on Q10

worked like a charm! thanks!

Developer
Posts: 587
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

Re: Title Bar Pushes Main Screen Container Down on Q10