From 124629ea0682ba19ea29febc813de31d404c8a06 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 8 May 2020 10:24:38 +0300 Subject: [PATCH] move pin button to plasma components3 --- .../contents/configuration/LatteDockConfiguration.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/package/contents/configuration/LatteDockConfiguration.qml b/shell/package/contents/configuration/LatteDockConfiguration.qml index b93998264..70d913899 100644 --- a/shell/package/contents/configuration/LatteDockConfiguration.qml +++ b/shell/package/contents/configuration/LatteDockConfiguration.qml @@ -299,7 +299,7 @@ FocusScope { } ColumnLayout { - PlasmaComponents.ToolButton { + PlasmaComponents3.ToolButton { id: pinButton Layout.fillWidth: false @@ -307,15 +307,15 @@ FocusScope { Layout.preferredWidth: width Layout.preferredHeight: height Layout.alignment: Qt.AlignRight | Qt.AlignVCenter - Layout.bottomMargin: units.smallSpacing + Layout.bottomMargin: units.smallSpacing * 1.5 //!avoid editMode box shadow Layout.topMargin: units.smallSpacing * 2 Layout.rightMargin: units.smallSpacing - iconSource: "window-pin" + icon.name: "window-pin" checkable: true - width: Math.round(units.gridUnit * 1.25) + width: 7 * units.smallSpacing height: width property bool inStartup: true