-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Give windows a sensible default size #90
Comments
Would it be practical to have the window size be calculated based on the initially visible views? |
At the moment it kinda works like that (although that's just a result of not specifying a default window size, and letting each UI framework do whatever it wants). The main issue is that if you have a window that only contains Using the 'natural size' of the window's initial contents in conjunction with some other factors such as a minimum default size etc could work well, although it's tricky to compute the size of an initial view in general (since it's backend specific and often UI frameworks adjust the sizes of views based on available space, making a feedback loop if you use content size to adjust the window size). |
To be honest just have fixed window size the above could work |
Yeah, probably quite a sensible default at least |
At the moment windows default to the smallest possible size (under most backends). It'd be much nicer if they defaulted to some more sensible dimension such as 800x400 or something.
Any suggestions for default dimensions/aspect ratios?
The text was updated successfully, but these errors were encountered: