Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.3
plasma-framework
0002-Use-implicitWidth-Height-instead-of-painte...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor