projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativeanchors
/
data
/
centerin.qml
1
import QtQuick 1.0
2
3
Rectangle {
4
width: 200; height: 200
5
Rectangle {
6
objectName: "centered"
7
width: 50; height: 50; color: "blue"
8
anchors.centerIn: parent;
9
anchors.verticalCenterOffset: 30
10
anchors.horizontalCenterOffset: 10
11
}
12
}