Commit 4320789a authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[DeviceDelegate] Improve interaction with overflow menu

* Right-align relative to menu button
* Highlight button while menu is open
* Open on press rather than on click like a toolbar menu
parent a6c8498e
Pipeline #71662 passed with stage
in 4 minutes and 21 seconds
......@@ -128,13 +128,14 @@ PlasmaComponents.ListItem
PlasmaComponents3.ToolButton {
id: overflowMenu "application-menu"
checked: menu.status === PlasmaComponents.DialogStatus.Open
onClicked: {, overflowMenu.height)
onPressed: menu.openRelative()
PlasmaComponents.ContextMenu {
id: menu
visualParent: overflowMenu
placement: PlasmaCore.Types.BottomPosedLeftAlignedPopup
Supports Markdown
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