diff options
Diffstat (limited to 'examples/demos/photoviewer/PhotoViewerCore/EditableButton.qml')
-rw-r--r-- | examples/demos/photoviewer/PhotoViewerCore/EditableButton.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/demos/photoviewer/PhotoViewerCore/EditableButton.qml b/examples/demos/photoviewer/PhotoViewerCore/EditableButton.qml index 9d08de575f..426e5d6023 100644 --- a/examples/demos/photoviewer/PhotoViewerCore/EditableButton.qml +++ b/examples/demos/photoviewer/PhotoViewerCore/EditableButton.qml @@ -51,14 +51,14 @@ 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 } TextInput { - id: textInput; text: label; font.pixelSize: 15; anchors.centerIn: parent; smooth: true + id: textInput; text: label; font.pixelSize: 15; anchors.centerIn: parent Keys.onReturnPressed: { container.label = textInput.text container.focus = true @@ -75,7 +75,7 @@ Item { Rectangle { anchors.fill: container; border.color: "steelblue"; border.width: 4 - color: "transparent"; visible: textInput.focus; smooth: true + color: "transparent"; visible: textInput.focus; antialiasing: true } MouseArea { |