mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 02:34:45 +00:00
scale only the icon not the text
This commit is contained in:
parent
490bfdc928
commit
e1266e09c8
1 changed files with 7 additions and 7 deletions
|
|
@ -43,13 +43,6 @@ Item {
|
||||||
|
|
||||||
width: applicationsView.cellWidth
|
width: applicationsView.cellWidth
|
||||||
height: width
|
height: width
|
||||||
scale: root.reorderingApps && !drag.target ? 0.6 : 1
|
|
||||||
Behavior on scale {
|
|
||||||
NumberAnimation {
|
|
||||||
duration: units.longDuration
|
|
||||||
easing.type: Easing.InOutQuad
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
|
|
@ -116,6 +109,13 @@ Item {
|
||||||
width: parent.height / 2
|
width: parent.height / 2
|
||||||
height: width
|
height: width
|
||||||
source: model.ApplicationIconRole
|
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 {
|
PlasmaComponents.Label {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue