Add acticity menu

pull/7/head
cutefishd 5 years ago
parent d315061385
commit 89f23b3e5c

@ -31,6 +31,15 @@ Item {
backgroundOpacity: Meui.Theme.darkMode ? 0.3 : 0.4
}
Meui.DesktopMenu {
id: acticityMenu
MenuItem {
text: qsTr("Close")
onTriggered: acticity.close()
}
}
RowLayout {
anchors.fill: parent
anchors.leftMargin: Meui.Units.smallSpacing
@ -40,9 +49,10 @@ Item {
StandardItem {
id: acticityItem
Layout.fillHeight: true
width: acticityLayout.implicitWidth + Meui.Units.largeSpacing
onClicked: acticityMenu.open()
RowLayout {
id: acticityLayout
anchors.fill: parent

Loading…
Cancel
Save