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
Tauri docs mention the following configuration options:
minWidth minHeight maxWidth maxHeight resizable**?**
Those options do not work as expected on macOS.
Setting both minHeight and maxWidth cause the window to be of fixed height (minHeight) and it can only be resized in width hereafter.
Steps to reproduce the behavior: Add the following to tauri.conf.json:
"windows": [ { "title": "Tauri App", "minHeight": 100, "maxWidth": 1200, "resizable": true }
open on macOS 11.4.
The window opens at a default height/width and the window can be resized to 100 <= height, width <= 1200.
Operating System - Mac OS, version 11.4.0 X64 Node.js environment Node.js - 16.2.0 @tauri-apps/cli - 1.0.0-beta.3 (outdated, latest: 1.0.0-beta.5) @tauri-apps/api - Not installed Global packages npm - 7.19.1 yarn - 1.22.10 Rust environment rustc - 1.55.0-nightly cargo - 1.54.0-nightly App directory structure /dist /node_modules /public /src-tauri /.vscode /src App tauri.rs - 1.0.0-beta.2 framework - Svelte
same result with
tauri = { git="https://github.com/tauri-apps/tauri", branch = "dev", features = ["fs-create-dir", "fs-read-text-file", "fs-write-file", "menu"] } Node.js environment @tauri-apps/cli - 1.0.0-beta.5 @tauri-apps/api - 1.0.0-beta.4 App tauri.rs - 1.0.0-beta.4
The text was updated successfully, but these errors were encountered:
this is fixed in the dev branch and will be available in the next release.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Tauri docs mention the following configuration options:
Those options do not work as expected on macOS.
Setting both minHeight and maxWidth cause the window to be of fixed height (minHeight) and it can only be resized in width hereafter.
To Reproduce
Steps to reproduce the behavior:
Add the following to tauri.conf.json:
open on macOS 11.4.
Expected behavior
The window opens at a default height/width and the window can be resized to 100 <= height, width <= 1200.
Platform and Versions (required):
same result with
The text was updated successfully, but these errors were encountered: