Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [Solved] Symbian debug: graphics error
Forum Updated to NodeBB v4.3 + New Features

[Solved] Symbian debug: graphics error

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 2.2k Views 1 Watching
  • 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 Offline
    S Offline
    spode
    wrote on last edited by
    #1

    @ import QtQuick 1.0

    Rectangle
    {
    id: contenitore

    Image
    {
        source: "../LebendigeLieder/sfondo.jpg"
        anchors.top: contenitore.top
        anchors.left: contenitore.left
        id: sfondo
        z: -1
    }
    
    Rectangle
    {
        color:"red"
        width: 130; height: 30
        anchors.right: sfondo.right
        z: 1
    

    id: rettangolo
    }
    }
    @
    how to set "rettagolo" on the topRight margin of the screen of a phone?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thisisbhaskar
      wrote on last edited by
      #2

      If I understand your question correctly, the below code should hep???
      @import QtQuick 1.0

      Rectangle
      {
      id: contenitore

      Image
      {
          source: "../LebendigeLieder/sfondo.jpg"
          anchors.top: contenitore.top
          anchors.left: contenitore.left
          id: sfondo
      }
      
      Rectangle
      {
          color:"red"
          width: 130; height: 30
          anchors.right: contenitore.right
          anchors.top : contenitore.top
          id: rettangolo
      }
      

      }@

      1 Reply Last reply
      0
      • S Offline
        S Offline
        spode
        wrote on last edited by
        #3

        yes, it right. thank you!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved