Changeset View
Changeset View
Standalone View
Standalone View
org.kde.desktop/MenuItem.qml
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Line(s) | 101 | @DISABLE_UNDER_QQC2_2_3@ } | |||
---|---|---|---|---|---|
112 | background: Item { | 112 | background: Item { | ||
113 | anchors.fill: parent | 113 | anchors.fill: parent | ||
114 | implicitWidth: Kirigami.Units.gridUnit * 8 | 114 | implicitWidth: Kirigami.Units.gridUnit * 8 | ||
115 | 115 | | |||
116 | Rectangle { | 116 | Rectangle { | ||
117 | anchors.fill: parent | 117 | anchors.fill: parent | ||
118 | color: Kirigami.Theme.highlightColor | 118 | color: Kirigami.Theme.highlightColor | ||
119 | opacity: (controlRoot.highlighted || controlRoot.hovered) ? 1 : 0 | 119 | opacity: (controlRoot.highlighted || controlRoot.hovered) ? 1 : 0 | ||
120 | Behavior on opacity { NumberAnimation { duration: 150 } } | | |||
121 | } | 120 | } | ||
122 | } | 121 | } | ||
123 | } | 122 | } |