Commit 19d5c5b0 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

shift content rect for handles attached to tile

parent 37b437a0
......@@ -48,10 +48,8 @@ Control {
Item {
id: contentArea
anchors.fill: parent
anchors.leftMargin: -root.handleWidth / 2
anchors.rightMargin: -root.handleWidth / 2
anchors.topMargin: -root.handleHeight / 2
anchors.bottomMargin: -root.handleHeight / 2
anchors.leftMargin: -root.handleWidth
anchors.topMargin: -root.handleHeight
Repeater {
id: contentRepeater
......@@ -83,13 +81,11 @@ Control {
Rectangle {
id: tileContentArea
anchors.fill: parent
anchors.leftMargin: root.handleWidth / 2
anchors.rightMargin: root.handleWidth / 2
anchors.topMargin: root.handleHeight / 2
anchors.bottomMargin: root.handleHeight / 2
anchors.leftMargin: root.handleWidth
anchors.topMargin: root.handleHeight
border.width: 1
border.color: "cyan" // XXX
color: "transparent"
color: "#4000ffff" // XXX
}
}
}
......
Markdown is supported
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