Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Z30(Z3?) 10.3 - missing space on screen (top / bottom) #1029

Open
T-M-C opened this issue Aug 8, 2014 · 0 comments
Open

Z30(Z3?) 10.3 - missing space on screen (top / bottom) #1029

T-M-C opened this issue Aug 8, 2014 · 0 comments

Comments

@T-M-C
Copy link

T-M-C commented Aug 8, 2014

Hey,
i just wanted to place a 100% height div on the screen.
on the div is some "lost" space at the bottom + top on the screen and i saw that bbui gives an actionbarheight of 139, but it seems it has only 96... same for the top. can this be the reason?
tested on 10.3 simualtor
seems to work on z10 / q10 / passport

edit: even on 10.2:

unbenannt

edit: simulator gives 1pixel less for window.innerHeight + window.innerWidth, so bb.device.is1280x720 is false (dont know, if it is a simulator bug). this extra line fixed it for simulator:

bb.device.is1280x720 = (window.innerWidth == 1279 && window.innerHeight == 719) || (window.innerWidth == 719 && window.innerHeight == 1279); //Simulator?Bug

fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant