Commit 58f74b1f authored by Marco Martin's avatar Marco Martin

open the first applet on first panel open

parent 19a16ef8
......@@ -236,5 +236,14 @@ PlasmaCore.ColorScope {
}
}
}
onVisibleChanged: {
if (visible && !root.expandedApplet) {
print("AAA"+appletIconsRow.children[0].applet)
var applet = appletIconsRow.children[0].applet;
applet.expanded = true;
appletsStack.replace(applet.fullRepresentationItem);
root.expandedApplet = applet;
}
}
}
}
......@@ -56,16 +56,11 @@ Item {
anchors {
left: parent.left
right: parent.right
bottom: parent.top
}
height: units.smallSpacing
color: PlasmaCore.ColorScope.highlightColor
opacity: plasmoid.expanded ? 1 : 0
Behavior on opacity {
OpacityAnimator {
duration: units.shortDuration
easing.type: Easing.InOutQuad
}
}
visible: plasmoid.expanded
}
Item {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment