Package not found: openSUSE:Factory/postgresql12

File 0002-Use-implicitWidth-Height-instead-of-paintedWidth-Hei.patch of Package plasma-framework

From a9bda9d2fb676104cd824df741b77a79dd55edae Mon Sep 17 00:00:00 2001
From: Antonio Larrosa <antonio.larrosa@gmail.com>
Date: Tue, 16 Mar 2021 17:28:05 +0100
Subject: [PATCH 2/2] Use implicitWidth/Height instead of paintedWidth/Height

As suggested by @ndavis in #201
---
 src/declarativeimports/plasmacomponents3/Label.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/declarativeimports/plasmacomponents3/Label.qml b/src/declarativeimports/plasmacomponents3/Label.qml
index 599605aad..5ec546307 100644
--- a/src/declarativeimports/plasmacomponents3/Label.qml
+++ b/src/declarativeimports/plasmacomponents3/Label.qml
@@ -12,8 +12,8 @@ import org.kde.plasma.core 2.0 as PlasmaCore
 T.Label {
     id: control
 
-    height: Math.ceil(paintedHeight)
-    width: Math.ceil(paintedWidth)
+    height: Math.ceil(implicitHeight)
+    width: Math.ceil(implicitWidth)
 
     verticalAlignment: lineCount > 1 ? Text.AlignTop : Text.AlignVCenter
 
-- 
2.30.1

openSUSE Build Service is sponsored by