×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    65

    Possible bug in the local preview simulator: screen.height

    I think I found a bug in the local preview. If I query the screen.height property, it returns the height of my desktop, not the height of current phone in the simulator. The cloud preview gets it right, tough. Can someone confirm this for me?

    Thanks.
    http://igordsm.googlepages.com

  2. #2
    Nokia Developer Moderator
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Possible bug in the local preview simulator: screen.height

    Hi,

    Confirmed.
    As a workaround, please use indow.innerWidth and window.innerHeight instead of screen.height / width.

    Br,
    Ilkka

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    65

    Re: Possible bug in the local preview simulator: screen.height

    Ok, thanks.
    http://igordsm.googlepages.com

Similar Threads

  1. Replies: 1
    Last Post: 2011-07-16, 15:40
  2. simulator does not load when Web preview app is clicked
    By wwwalker in forum Nokia Asha Web Apps
    Replies: 1
    Last Post: 2011-06-29, 07:21
  3. Replies: 0
    Last Post: 2011-05-26, 07:12
  4. any simulator that supports on-the-phone preview content?
    By garsanca in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •