-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[bug] Cannot create small window (with approximately 100 width or less) #6792
Comments
You can disable the decorations using https://tauri.app/v1/api/config#windowconfig.decorations, otherwise you are stuck with the native title bar which has a fixed size. |
Actually, I had set window size 20x20 window size 150x150 I guess the decorations setting just hides the borders and bars, but in fact the conflict with native title bar is still there, just as it was when the decorations were displayed |
Sorry for the late reply~ I would like to create a floating bubble on the desktop. It can be dragged, clicked to interact, and display specified content. This requirement is more like what was mentioned in issues #4360, #6125. But I have been unable to set the window to a suitable size. Would you have any suggestions on how to implement this feature? Thank you! (p.s. the bubble would look like this: |
for your use-case (as shown in your screenshot), I think our minimum size on Windows with |
Describe the bug
When I specified a smaller window size, the window size generated by tauri was not as expected due to windows native titlebar.
Reproduction
with following settings in
tauri.conf.json
Then I get:
You can see that the width is much larger than the value I set (20).
Expected behavior
windows size matches my settings.
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: