diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-07-31 01:52:29 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-07-31 01:52:29 (GMT) |
commit | 2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292 (patch) | |
tree | c895ba39c4fa4f48b2aad1a6c1c86fdc788700aa /examples/declarative/loader | |
parent | 56f67f2fdf84fe5e7660552c52b67c4e474054dd (diff) | |
download | Qt-2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292.zip Qt-2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292.tar.gz Qt-2411b42ff4638bc1a707ab9ebe9fbadf2a4a0292.tar.bz2 |
Rename Rect.pen to Rect.border
Diffstat (limited to 'examples/declarative/loader')
-rw-r--r-- | examples/declarative/loader/Browser.qml | 4 | ||||
-rw-r--r-- | examples/declarative/loader/Button.qml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/loader/Browser.qml b/examples/declarative/loader/Browser.qml index 64df830..96c2a76 100644 --- a/examples/declarative/loader/Browser.qml +++ b/examples/declarative/loader/Browser.qml @@ -82,13 +82,13 @@ Rect { id: TitleBar width: parent.width height: 32 - color: activePalette.button; pen.color: activePalette.mid + color: activePalette.button; border.color: activePalette.mid Rect { id: UpButton width: 30 height: TitleBar.height - pen.color: activePalette.mid; color: "transparent" + border.color: activePalette.mid; color: "transparent" MouseRegion { anchors.fill: parent; onClicked: folders.folder = up(folders.folder) } Image { anchors.centerIn: parent; source: "images/up.png" } } diff --git a/examples/declarative/loader/Button.qml b/examples/declarative/loader/Button.qml index 562e04c..999e180 100644 --- a/examples/declarative/loader/Button.qml +++ b/examples/declarative/loader/Button.qml @@ -8,7 +8,7 @@ Rect { height: Text.height + 10 width: Text.width + 20 - pen.width: 1 + border.width: 1 radius: 4 color: "grey" MouseRegion { anchors.fill: parent; onClicked: Container.clicked() } |