-
-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
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
Feature Request: Constrain window width, but not window height. #138
Comments
There is still a bug tho i think.
Edit: apparently it was a bug at Tauri-level tauri-apps/tauri#2247 |
13 tasks
amrbashir
added
platform: Linux
platform: macOS
platform: Windows
and removed
platform: All
labels
Aug 30, 2021
amrbashir
added a commit
that referenced
this issue
Jul 4, 2023
13 tasks
amrbashir
added a commit
that referenced
this issue
Jul 11, 2023
* feat: split min/max size constraints, closes #138 * windows impl * linux impl * fix linux impl * cleanup linux impl * macOS impl * imports * ios build * macos build * unsafe * merge `set_min/max_width/height` into a single function * fix macos build * macos again * use macros to generate DPI types ref: rust-windowing/winit#2148 * fix windows impl * fmt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See discussion including screenshots at Discord.
https://discord.com/channels/616186924390023171/625037620996734986/866688857139314729
"setting maxWidth breaks the vertical resizing" ... "also enforces the minHeight as its maxHeight"
My project need to be able to keep approximately the same width, but adjust height during runtime. E.g. like Apple Music for macOS does. It can be resized horizontally, but only up to a maxWidth. However height can be as high as you'd like.
The text was updated successfully, but these errors were encountered: