fix: refine the window size

This commit is contained in:
Kevin Yue 2023-07-01 13:57:38 +08:00
parent f91f0bcd17
commit 963b7d5407

View File

@ -133,8 +133,8 @@ fn build_window(app_handle: &AppHandle, ua: &str) -> tauri::Result<Window> {
Window::builder(app_handle, AUTH_WINDOW_LABEL, url) Window::builder(app_handle, AUTH_WINDOW_LABEL, url)
.visible(false) .visible(false)
.title("GlobalProtect Login") .title("GlobalProtect Login")
.inner_size(390.0, 694.0) .inner_size(400.0, 647.0)
.min_inner_size(390.0, 600.0) .min_inner_size(370.0, 600.0)
.user_agent(ua) .user_agent(ua)
.always_on_top(true) .always_on_top(true)
.focused(true) .focused(true)