[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-workspace] plasma/generic/applets/batterymonitor/contents/ui: Correct initial sizing: wrong the
From:       Sebastian_Kügler <sebas () kde ! org>
Date:       2013-11-11 21:03:51
Message-ID: E1VfyeF-00044b-LY () scm ! kde ! org
[Download RAW message or body]

Git commit 265d91e75c98d67f5d75079dd7660eacefe283e9 by Sebastian K=C3=BCgle=
r.
Committed on 11/11/2013 at 16:14.
Pushed by sebas into branch 'master'.

Correct initial sizing: wrong theme usage

M  +1    -1    plasma/generic/applets/batterymonitor/contents/ui/CompactRep=
resentation.qml

http://commits.kde.org/kde-workspace/265d91e75c98d67f5d75079dd7660eacefe283=
e9

diff --git a/plasma/generic/applets/batterymonitor/contents/ui/CompactRepre=
sentation.qml b/plasma/generic/applets/batterymonitor/contents/ui/CompactRe=
presentation.qml
index 1bd0841..d089d60 100755
--- a/plasma/generic/applets/batterymonitor/contents/ui/CompactRepresentati=
on.qml
+++ b/plasma/generic/applets/batterymonitor/contents/ui/CompactRepresentati=
on.qml
@@ -85,7 +85,7 @@ ListView {
                 height: visible ? paintedHeight : 0
                 horizontalAlignment: Text.AlignHCenter
                 text: percent + "%"// FIXME i18nc("battery percentage belo=
w battery icon", "%1%", percent)
-                font.pixelSize: Math.max(batteryContainer.iconSize/8, them=
e.mSize(theme.smallestReadableFont).height)
+                font.pixelSize: Math.max(batteryContainer.iconSize/8, them=
e.mSize(theme.smallestFont).height)
                 visible: false//!isConstrained()
             }
         }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic