Commit 0dffdec1 authored by Bharat Akkinepalli's avatar Bharat Akkinepalli
Browse files

Modified the main object to ApplicationWindow and changed the size of

Wooden box
parent 603b94b5
import QtQuick 2.2
import QtQuick.Window 2.1
import QtQuick.Controls 1.1
import "QML/view"
Window {
ApplicationWindow {
visible: true
width: 900
height: 700
title: qsTr("Density Problem")
menuBar: MenuBar {
Menu {
title: qsTr("File")
MenuItem {
text: qsTr("Exit")
onTriggered: Qt.quit();
}
}
}
Main {
anchors.fill: parent
}
......
......@@ -59,7 +59,7 @@ import QtQuick 2.0
},
Rectangle { property string imgSource: "images/wooden-block.png";
property string imgName: "Wooden Block";
property double weight: 45.00
property double weight: 20.00
property double density: 0.8
property int horizontalSpacing: 20
property int verticalSpacing: 5
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment