use more bindings

This commit is contained in:
Patrick von Reth 2014-09-07 14:00:11 +02:00
parent 603cf42ab7
commit a6f8ad0bdf
1 changed files with 4 additions and 6 deletions

View File

@ -24,10 +24,6 @@ Rectangle {
appIcon.source = nAppIcon
image.source = nImage
root.color = color
appIcon.height = root.height * 0.30
closeButton.height = root.height * 0.20
}
MouseArea {
@ -91,7 +87,8 @@ Rectangle {
Image {
id: appIcon
width: height
height: root.height * 0.30
width: root.height * 0.30
smooth: true
anchors.right: parent.right
anchors.rightMargin: 5
@ -101,7 +98,8 @@ Rectangle {
Image {
id: closeButton
width: height
height: root.height * 0.20
width: root.height * 0.20
anchors.top: parent.top
anchors.topMargin: 5
anchors.right: parent.right