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

Reply
New Developer
Posts: 30
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: 158
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: 30
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: 579
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

Re: Title Bar Pushes Main Screen Container Down on Q10