diff options
-rw-r--r-- | examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml b/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml index a7f176a9..11d153f5 100644 --- a/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml +++ b/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml @@ -38,7 +38,6 @@ ** ****************************************************************************/ -import QtGraphicalEffects 1.0 import QtQuick 2.8 import QtQuick.Controls 2.1 import QtQuick.Controls.Material 2.1 @@ -226,7 +225,7 @@ ApplicationWindow { } } - Button { + RoundButton { id: editButton font.family: "fontello" text: "\uE809" // icon-pencil @@ -245,20 +244,6 @@ ApplicationWindow { // Force focus on the text area so the cursor and footer show up. textArea.forceActiveFocus() } - - background: Rectangle { - implicitWidth: parent.width - implicitHeight: parent.height - radius: width / 2 - color: parent.down ? Qt.darker(Material.accent) : Material.accent - - layer.enabled: editButton.enabled - layer.effect: DropShadow { - color: "#44000000" - verticalOffset: 2 - samples: 16 - } - } } Dialog { |