From 12098a1ea27941ca5326776e6e1fecaaf84af91a Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Tue, 4 Jan 2022 01:31:17 +0200 Subject: [PATCH] dragging:respect placeholder in length fill calcs --reduce glitches when dragging applets around and there are also fillLength applets in Justify alignment --- .../privates/layouter/AppletsContainer.qml | 29 ++++++++++--------- .../package/contents/ui/applet/AppletItem.qml | 1 + 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/containment/package/contents/ui/abilities/privates/layouter/AppletsContainer.qml b/containment/package/contents/ui/abilities/privates/layouter/AppletsContainer.qml index 51ca1fa04..6145477a0 100644 --- a/containment/package/contents/ui/abilities/privates/layouter/AppletsContainer.qml +++ b/containment/package/contents/ui/abilities/privates/layouter/AppletsContainer.qml @@ -40,11 +40,9 @@ Item { value: { var space = 0; for (var i=0; i 0) property bool isZoomed: false + property bool isPlaceHolder: false property bool isPressed: viewSignalsConnector.pressed property bool isSeparator: applet && (applet.pluginName === "audoban.applet.separator" || applet.pluginName === "org.kde.latte.separator")