[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-workspace] plasma/generic/applets/batterymonitor/contents/ui: Fix sizing computation dependant
From: Sebastian_Kügler <sebas () kde ! org>
Date: 2013-11-06 1:49:34
Message-ID: E1VdsFS-0002XV-13 () scm ! kde ! org
[Download RAW message or body]
Git commit 8f2711acdd00f0065d55daadbdc39bbf8082e548 by Sebastian K=C3=BCgle=
r.
Committed on 06/11/2013 at 01:03.
Pushed by sebas into branch 'master'.
Fix sizing computation dependant on font
M +1 -1 plasma/generic/applets/batterymonitor/contents/ui/CompactRep=
resentation.qml
http://commits.kde.org/kde-workspace/8f2711acdd00f0065d55daadbdc39bbf8082e5=
48
diff --git a/plasma/generic/applets/batterymonitor/contents/ui/CompactRepre=
sentation.qml b/plasma/generic/applets/batterymonitor/contents/ui/CompactRe=
presentation.qml
index f10982a..1bd0841 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.smallestReadableFont.pixelSize)
+ font.pixelSize: Math.max(batteryContainer.iconSize/8, them=
e.mSize(theme.smallestReadableFont).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