Replies: 1 comment 1 reply
-
This is a known issue tracked in #2375 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
-----index.slint----
export component MainWindow inherits Window {
width: 60px;
height: 60px;
always-on-top: true;
no-frame: true;
}
export component CMenuWindow inherits Window {
width: 140px;
height: 300px;
no-frame: true;
}
Borderless small window MainWindow how to implement the right menu, I try to use ContextMenuArea, ContextMenuArea right menu is pop-up in the current window, the menu has many items, and the current window is relatively small, can not be displayed normally. My idea is to use a frameless window CMenuWindow to simulate the right-click menu, right-click in the MainWindow, trigger the display of CMenuWindow, CMenuWindow out of focus, hide the CMenuWindow window, now the problem is: How to right-click in MainWindow to trigger CMenuWindow window display and lose focus hide CMenuWindow window
Beta Was this translation helpful? Give feedback.
All reactions