Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User igordsm's Avatar
    Join Date
    Jul 2008
    Posts
    65
    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 isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    831
    Hi,

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

    Br,
    Ilkka

  3. #3
    Registered User igordsm's Avatar
    Join Date
    Jul 2008
    Posts
    65
    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. Preview screen no available for the selection
    By k-kitamoto in forum Themes/Carbide.ui
    Replies: 4
    Last Post: 2007-03-09, 01:52
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved