diff options
Diffstat (limited to 'examples/demos/photoviewer/PhotoViewerCore/Button.qml')
-rw-r--r-- | examples/demos/photoviewer/PhotoViewerCore/Button.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/demos/photoviewer/PhotoViewerCore/Button.qml b/examples/demos/photoviewer/PhotoViewerCore/Button.qml index 8f4177c097..ae4e40a0c9 100644 --- a/examples/demos/photoviewer/PhotoViewerCore/Button.qml +++ b/examples/demos/photoviewer/PhotoViewerCore/Button.qml @@ -52,18 +52,18 @@ Item { BorderImage { anchors { fill: container; leftMargin: -6; topMargin: -6; rightMargin: -8; bottomMargin: -8 } - source: 'images/box-shadow.png'; smooth: true + source: 'images/box-shadow.png' border.left: 10; border.top: 10; border.right: 10; border.bottom: 10 } - Image { anchors.fill: parent; source: "images/cardboard.png"; smooth: true } + Image { anchors.fill: parent; source: "images/cardboard.png"; antialiasing: true } Rectangle { anchors.fill: container; color: container.tint; visible: container.tint != "" - opacity: 0.25; smooth: true + opacity: 0.25 } - Text { id: labelText; font.pixelSize: 15; anchors.centerIn: parent; smooth: true } + Text { id: labelText; font.pixelSize: 15; anchors.centerIn: parent } MouseArea { anchors { fill: parent; leftMargin: -20; topMargin: -20; rightMargin: -20; bottomMargin: -20 } |