Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rcoreilly
Copy link
Member

@rcoreilly rcoreilly commented Nov 14, 2024

  • change the popup sizing and positioning logic from c881462 to only apply when popup is a significant fraction of the size of the source window that it is a popup of. much better.

  • add an option on Stage to disable min size of a new window, and also to specify the size of the window manually.

  • add a ResizeToContents function to Scene that resizes an existing Scene to fit current contents, and rename prefSize -> contentSize

fixes #1283 and fixes #1298

…ply when popup is a significant fraction of the size of the source window that it is a popup of. much better.
@rcoreilly rcoreilly marked this pull request as draft November 14, 2024 06:02
…idgets / dialogs to call it -- seems to cut off a bit of size on my mac but we should see how general that is. also system.Window.SetSize was not implemented on desktop! how is that possible?
@rcoreilly
Copy link
Member Author

@kkoreilly can you test resize to contents?

@rcoreilly rcoreilly marked this pull request as ready for review November 14, 2024 07:33
Copy link
Member

@kkoreilly kkoreilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely somewhat buggy for me. Also centralized docs would be nice...

@kkoreilly kkoreilly merged commit 43c6bd6 into main Nov 15, 2024
1 check passed
@kkoreilly kkoreilly deleted the stagesize branch November 15, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support a growing window

3 participants