We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey! 👋
I need to make this window resizable, but whenever I try to do it, the window stops appearing on top of fullscreen apps.
Do you have any ideas how to implement this?
fn set_resizable(&self) { let current_style_mask: NSWindowStyleMask = unsafe { msg_send![self, styleMask] }; let new_style_mask = current_style_mask | NSWindowStyleMask::NSWindowStyleMaskResizable; self.set_style_mask(new_style_mask.bits() as i32); }
#[tauri::command] pub fn init_spotlight_window(app_handle: AppHandle<Wry>, window: Window<Wry>) { INIT.call_once(|| { let panel = create_spotlight_panel(&window); set_state!(app_handle, panel, Some(create_spotlight_panel(&window))); panel.set_resizable(); register_shortcut(app_handle); }); }
The text was updated successfully, but these errors were encountered:
Cool, glad you solved it yourself!
Sorry, something went wrong.
No branches or pull requests
Hey! 👋
I need to make this window resizable, but whenever I try to do it, the window stops appearing on top of fullscreen apps.
Do you have any ideas how to implement this?
Solved, I guess. The solution below seems to work.
The text was updated successfully, but these errors were encountered: