fix errors in qml (they worked fine right before I committed
This commit is contained in:
parent
0362fd2227
commit
5c48c4c60a
6
cell.qml
6
cell.qml
@ -1,7 +1,9 @@
|
|||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
property int index: 0
|
property int index: 0/*
|
||||||
|
anchors.right: parent
|
||||||
|
anchors.left: parent*/
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: cellText
|
id: cellText
|
||||||
@ -24,4 +26,4 @@ Rectangle {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
46
main.qml
46
main.qml
@ -67,34 +67,34 @@ ApplicationWindow {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: col2
|
id: col2
|
||||||
objectName: "col2"
|
objectName: "col2"
|
||||||
color: "#4f90e2"
|
color: "#4f90e2"
|
||||||
border.width: 0
|
border.width: 0
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: data2
|
id: data2
|
||||||
objectName: "data2"
|
objectName: "data2"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: mainView
|
id: mainView
|
||||||
objectName: "mainView"
|
objectName: "mainView"
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: 0
|
anchors.rightMargin: 0
|
||||||
anchors.leftMargin: 0
|
anchors.leftMargin: 0
|
||||||
anchors.left: gridRect.right
|
anchors.left: gridRect.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
z: 1
|
z: 1
|
||||||
clip: false
|
clip: false
|
||||||
visible: true
|
visible: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user