Important: Please read the Qt Code of Conduct -

Anchoring in nokia

  • it is unlogical because this code(viewer.showExpandend()):
    { //parte comune a tutti gli sfondi
    color: "gold"
    id: container
    id: indicatoreAlto
    source: "../LebendigeLieder/sopra.png"
    anchors { 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.

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

Log in to reply