×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    23

    Detecting orientation change

    Hi

    How do you detect orientation changes, like this ?

    onRotationChanged: {
    if (screen.orientationString === "Portrait")
    {
    title.font.pixelSize = 55
    }
    else
    {
    title.font.pixelSize = 15
    }
    }

    Regards

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Detecting orientation change

    here's one wiki example for this: http://www.developer.nokia.com/Commu...ation_with_QML

  3. #3
    Registered User
    Join Date
    Sep 2012
    Posts
    23

    Re: Detecting orientation change

    Thanks, I will have a look into it

Similar Threads

  1. how to change camera orientation?
    By zhangxun890831 in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2011-03-28, 09:28
  2. Replies: 3
    Last Post: 2010-09-03, 12:16
  3. Lock orientation change in N97
    By darshan.gandhi in forum Symbian User Interface
    Replies: 7
    Last Post: 2010-08-09, 04:50

Posting Permissions

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