Skip to content
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

Add Window.AutoSize property #1930

Merged
merged 1 commit into from
Apr 20, 2021
Merged

Conversation

cwensley
Copy link
Member

Some behaviours to note:

  • If you set only Width or Height of a window it will use that and autosize the unset dimension.
  • When the window is resizable and the user resizes it, AutoSize will be turned off
  • Setting AutoSize after it has been turned off autosizes it again
  • Setting both Width and Height of a form effectively disables AutoSize logic.

Fixes #1591

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically resize form?
1 participant