projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rewrite the canvas item's paint logic.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qtquick1
/
qdeclarativeloader
/
data
/
QTBUG_16928.qml
1
import QtQuick 1.1
2
3
Rectangle {
4
color: "green"
5
width: loader.implicitWidth+50
6
height: loader.implicitHeight+50
7
8
Loader {
9
id: loader
10
sourceComponent: Item {
11
anchors.centerIn: parent
12
13
implicitWidth: 200
14
implicitHeight: 200
15
Rectangle {
16
color: "red"
17
anchors.fill: parent
18
}
19
}
20
anchors.fill: parent
21
anchors.margins: 15
22
}
23
}