How to set app always fix on the top(nearby the tray icon) at launch #6023
-
Hi master, In my current implementation, I call |
Beta Was this translation helpful? Give feedback.
Answered by
JonasKruckenberg
Jan 10, 2023
Replies: 1 comment 3 replies
-
There is the
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Jun10ng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is the
tauri-plugin-positioner
that can help with tray relative positions (only works after the user clicked on the tray icon once though) so what I would do is the following (if that works for your use case):"visible": false
at the startlet _ = win.move_window(Position::TrayCenter);
and thenwin.show()