Open flappyBug opened 7 months ago
setMinSize will change window position in windows
in js api,
import { LogicalSize, getCurrent } from '@tauri-apps/api/window'; const currentWindow = getCurrent(); currentWindow.setMinSize(new LogicalSize(1280, 860));
Window size and position won't change.
tauri info
[✔] Environment - OS: Windows 10.0.17763 X64 ✔ WebView2: 123.0.2420.97 ✔ MSVC: - Visual Studio Community 2022 - Visual Studio ���ɹ��� 2022 ✔ rustc: 1.76.0 (07dca489a 2024-02-04) ✔ cargo: 1.76.0 (c84b36747 2024-01-18) ✔ rustup: 1.26.0 (5af9b9484 2023-04-05) ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN) - node: 18.17.0 - pnpm: 8.15.4 - npm: 9.6.7 [-] Packages - tauri [RUST]: 1.6.1 - tauri-build [RUST]: 1.5.1 - wry [RUST]: 0.24.7 - tao [RUST]: 0.16.8 - tauri-cli [RUST]: 1.5.10 - @tauri-apps/api : not installed! - @tauri-apps/cli [NPM]: 1.5.10 (outdated, latest: 1.5.11) [-] App - build-type: bundle - CSP: unset - distDir: build/dist - devPath: http://localhost:3000/
No response
I can't seem to reproduce this, can you show a video of the problem?
Describe the bug
setMinSize will change window position in windows
Reproduction
in js api,
Expected behavior
Window size and position won't change.
Full
tauri info
outputStack trace
No response
Additional context
No response