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

Web and WebWorks Development

Reply
New Developer
kknuth
Posts: 19
Registered: ‎10-08-2008
My Device: Not Specified

White Space at bottom of every page?

What is up with the white bar at the bottom of every BB Simulator's browser?  It almost seems like the Browser is reserving space for a horizontal scroll bar.  This bar appears on all Simulators I have tried and all all web pages developed. It steals valuable screen real estate and is ugly as sin when you use background colors or images on your page.

 

 

Any ideas on how to get rid of it?

 

TEST.JPG

New Developer
quickspace
Posts: 6
Registered: ‎01-12-2010
My Device: Bold

Re: White Space at bottom of every page?

Same problem!

Tried <meta name = "viewport" content="height=device-height" /> and no luck.. does anyone know how to fix this??

 

Retired
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: White Space at bottom of every page?

Can you post the OS version number of the Simulator where you are finding this issue?

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Developer
specialst
Posts: 2
Registered: ‎01-12-2010
My Device: 8900

Re: White Space at bottom of every page?

I'm still having this issue - 9550 5.0.0.334 ; Help about says "BB Smartphone Simulator 2.13.0.65" when you scroll down or up there are chunks of white like shown above.

New Developer
quickspace
Posts: 6
Registered: ‎01-12-2010
My Device: Bold

Re: White Space at bottom of every page?

It does that to both simulators

 

BB 9500 Simulator 2.13.0.54 

 

&

 

BB 9550 Simulator  2.13.0.65

New Developer
quickspace
Posts: 6
Registered: ‎01-12-2010
My Device: Bold

Re: White Space at bottom of every page?

Sill having the same issue :smileysad:

some help please,

 

do you set a background color in the config.xml file?

Retired
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: White Space at bottom of every page?

If you are seeing white space at the bottom of the screen on a BlackBerry widget it is because of the following...

 

The rendering of the content will size itself to the size of the body of the document.  You can use CSS to ensure that the body of your content fills the entire screen.

 

An alternative approach is to set the background color of the widget in the config.xml file to fill this space with a solid color.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Developer
jmace
Posts: 482
Registered: ‎10-24-2008
My Device: 9300

Re: White Space at bottom of every page?

This has worked for me so far...

 

 

document.getElementById("mainBody").style.height = screen.height - 12 + "px";

 

 

Where "mainBody" is the ID of the body element of my widget.

_________________________________________
www.jasonmace.com/blackberry