From 1b7149029668f40a931e34852f09c6d27da47946 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Sat, 13 Mar 2021 19:59:40 -0500 Subject: [PATCH] [PC3 TextField] mirrored -> control.mirrored Fixes "ReferenceError: mirrored is not defined" --- src/declarativeimports/plasmacomponents3/TextField.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/declarativeimports/plasmacomponents3/TextField.qml b/src/declarativeimports/plasmacomponents3/TextField.qml index c3dd8b817..96bdc35d5 100644 --- a/src/declarativeimports/plasmacomponents3/TextField.qml +++ b/src/declarativeimports/plasmacomponents3/TextField.qml @@ -52,9 +52,9 @@ T.TextField { contentHeight + topPadding + bottomPadding, placeholder.implicitHeight + topPadding + bottomPadding) - leftPadding: (__hasBackgroundAndMargins ? background.margins.left : 0) + (mirrored ? inlineButtonRow.width : 0) + leftPadding: (__hasBackgroundAndMargins ? background.margins.left : 0) + (control.mirrored ? inlineButtonRow.width : 0) topPadding: __hasBackgroundAndMargins ? background.margins.top : 0 - rightPadding: (__hasBackgroundAndMargins ? background.margins.right : 0) + (mirrored ? 0 : inlineButtonRow.width) + rightPadding: (__hasBackgroundAndMargins ? background.margins.right : 0) + (control.mirrored ? 0 : inlineButtonRow.width) bottomPadding: __hasBackgroundAndMargins ? background.margins.bottom : 0 PlasmaCore.ColorScope.inherit: !background || !background.visible