You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using the new ResizeToContents method from #1306 the window was likely mis-sized because of the wrapped text -- if you start from other narrower sizes you get different resulting sizes. This is also a function of whether the buttons are wrapped in the flex layout. It is tricky because the starting size you give it is the whole screen, so it doesn't wrap that. But the contentsSize method operating on a current scene will probably use the current wrapping, so there can be mismatches. Need further investigation.
You can pass a suitable extra size amount, as we now do, to make it work in any given situation, but it would be good to fix the general issue at some point.
How to reproduce
run examples/demo and go to Widgets/Dialogs and click on Resize to contents button.
Example code
No response
Relevant output
No response
Platform
macOS
The text was updated successfully, but these errors were encountered:
Describe the bug
using the new
ResizeToContents
method from #1306 the window was likely mis-sized because of the wrapped text -- if you start from other narrower sizes you get different resulting sizes. This is also a function of whether the buttons are wrapped in the flex layout. It is tricky because the starting size you give it is the whole screen, so it doesn't wrap that. But the contentsSize method operating on a current scene will probably use the current wrapping, so there can be mismatches. Need further investigation.You can pass a suitable extra size amount, as we now do, to make it work in any given situation, but it would be good to fix the general issue at some point.
How to reproduce
run examples/demo and go to Widgets/Dialogs and click on Resize to contents button.
Example code
No response
Relevant output
No response
Platform
macOS
The text was updated successfully, but these errors were encountered: