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

List:       kde-commits
Subject:    [kde-workspace] plasma/generic/applets/devicenotifier/package/contents/ui: Make secondary
From:       Jacopo De Simoi <wilderkde () gmail ! com>
Date:       2012-12-04 8:02:21
Message-ID: 20121204080221.C963CA6091 () git ! kde ! org
[Download RAW message or body]

Git commit 761d71f661fa3897fa573fa4553c158e1546a328 by Jacopo De Simoi.
Committed on 04/12/2012 at 08:23.
Pushed by jacopods into branch 'master'.

Make secondary actions of proper size

Secondary actions should not be larger than
the main action

M  +1    -1    plasma/generic/applets/devicenotifier/package/contents/ui/De=
viceItem.qml

http://commits.kde.org/kde-workspace/761d71f661fa3897fa573fa4553c158e1546a3=
28

diff --git a/plasma/generic/applets/devicenotifier/package/contents/ui/Devi=
ceItem.qml b/plasma/generic/applets/devicenotifier/package/contents/ui/Devi=
ceItem.qml
index 106b2c1..c87f2d4 100644
--- a/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.=
qml
+++ b/plasma/generic/applets/devicenotifier/package/contents/ui/DeviceItem.=
qml
@@ -260,7 +260,7 @@ Item {
             interactive: false
             model: hpSource.data[udi]["actions"]
             property int actionVerticalMargins: 5
-            property int actionIconHeight: theme.iconSizes.dialog
+            property int actionIconHeight: theme.iconSizes.dialog*0.8
             height: expanded ? ((actionIconHeight+(2*actionVerticalMargins=
))*model.length)+anchors.topMargin : 0
             opacity: expanded ? 1 : 0
             delegate: actionItem

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

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