diff options
Diffstat (limited to 'examples/quick/shadereffects/shadereffects.qml')
-rw-r--r-- | examples/quick/shadereffects/shadereffects.qml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/examples/quick/shadereffects/shadereffects.qml b/examples/quick/shadereffects/shadereffects.qml index 563a09c15d..9d7a600543 100644 --- a/examples/quick/shadereffects/shadereffects.qml +++ b/examples/quick/shadereffects/shadereffects.qml @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtQuick module of the Qt Toolkit. @@ -48,9 +48,9 @@ ** ****************************************************************************/ -import QtQuick 2.0 -import QtQml.Models 2.1 -import "content" +import QtQuick +import QtQml.Models +import QtQuick.Controls Rectangle { id: root @@ -135,6 +135,8 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom + anchors.leftMargin: 4 + anchors.rightMargin: 4 height: 40 } } @@ -170,6 +172,8 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom + anchors.leftMargin: 4 + anchors.rightMargin: 4 height: 40 } } @@ -191,6 +195,8 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom + anchors.leftMargin: 4 + anchors.rightMargin: 4 height: 40 } } @@ -227,6 +233,8 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom + anchors.leftMargin: 4 + anchors.rightMargin: 4 height: 40 } } |