-
Notifications
You must be signed in to change notification settings - Fork 560
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
PopupWindow does not resize to the content size #6000
Comments
This works "fine" with the Qt backend, but is a problem with the winit backend. Just some preliminary investigation: Lines 998 to 999 in c284a69
Note that we do the same on a normal Window The difference with a normal Window is:
So in order to fix that we need:
|
I have started with the implementation of this #5917. If you start the time picker in the edit mode, what needs less space and then you toggle selection mode with the clock what needs more space, you see that the content of the popup is resized correctly but not the
PopupWindow
itself. That prevents e.g. from interaction of buttons that are now outside of the origin size of the popup.Tested with winit backend on Linux
Minimal example:
The text was updated successfully, but these errors were encountered: