Skip to content

Instantly share code, notes, and snippets.

@luisgabriel
Forked from renatooliveira/app.py
Last active December 26, 2015 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luisgabriel/7100589 to your computer and use it in GitHub Desktop.
Save luisgabriel/7100589 to your computer and use it in GitHub Desktop.
import QtQuick 1.0
Rectangle {
id: root
width: 1024
height: 768
Image {
source: "images/mtsis_tela_balanca_1024.png"
fillMode: Image.PreserveAspectFit
}
Component.onComplete: {
console.log(root.width);
console.log(root.height);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment