Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Anchoring in nokia

    Mobile and Embedded
    2
    2
    1418
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      spode last edited by

      it is unlogical because this code(viewer.showExpandend()):
      @
      Rectangle
      { //parte comune a tutti gli sfondi
      color: "gold"
      id: container
      Image
      {
      id: indicatoreAlto
      source: "../LebendigeLieder/sopra.png"
      anchors { top: container.top; right: container.right }
      scale: 0.3
      }
      }
      @
      returns an image that is not anchored on the right or top part of the screen of the simulator. how to fix? i want "image.png" is anchored on the left-top part of the screen of a phone.

      1 Reply Last reply Reply Quote 0
      • D
        dialingo last edited by

        The picture will show at the upper right corner if you set
        scale: 1.0

        1 Reply Last reply Reply Quote 0
        • First post
          Last post