scale only the icon not the text

This commit is contained in:
Marco Martin 2015-03-05 21:15:25 +01:00
parent 490bfdc928
commit e1266e09c8

View file

@ -43,13 +43,6 @@ Item {
width: applicationsView.cellWidth
height: width
scale: root.reorderingApps && !drag.target ? 0.6 : 1
Behavior on scale {
NumberAnimation {
duration: units.longDuration
easing.type: Easing.InOutQuad
}
}
states: [
State {
@ -116,6 +109,13 @@ Item {
width: parent.height / 2
height: width
source: model.ApplicationIconRole
scale: root.reorderingApps && !delegateItem.drag.target ? 0.6 : 1
Behavior on scale {
NumberAnimation {
duration: units.longDuration
easing.type: Easing.InOutQuad
}
}
}
PlasmaComponents.Label {