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

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

@T-M-C

Description

@T-M-C

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions