-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Dialog not resizing in newly created window #1692
Milestone
Comments
Just for reference, I think this might be related to #1382. |
It could be, though I think the root cause is different. |
andydotxyz
added
blocker
Items that would block a forthcoming release
bug
Something isn't working
labels
Dec 29, 2020
andydotxyz
added this to the 2.0 - Data binding, animations, flexible theming milestone
Dec 29, 2020
fpabl0
added a commit
to fpabl0/fyne
that referenced
this issue
Feb 9, 2021
…en windows is created and resized, fixes fyne-io#1692 when fyne-io#1931 is landed
Merged
7 tasks
I'm getting bit by this as well. The default folder select dialog is too small. Adding the sleep works for me as well, but is obviously very hacky. |
andydotxyz
pushed a commit
that referenced
this issue
Feb 26, 2021
…resized, fixes #1692 (#1932) * fix file dialog resize method, ensure popup overlays are refreshed when windows is created and resized * remove logic in baseDialog.Resize that is already delegated to widget.PopUp * remove unnecessary logic in popup.Resize * changes applied to mobileDriver and testCanvas fixes #1692
andydotxyz
pushed a commit
that referenced
this issue
Feb 26, 2021
…resized, fixes #1692 (#1932) * fix file dialog resize method, ensure popup overlays are refreshed when windows is created and resized * remove logic in baseDialog.Resize that is already delegated to widget.PopUp * remove unnecessary logic in popup.Resize * changes applied to mobileDriver and testCanvas fixes #1692
Fixed on |
This was referenced Mar 12, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug:
I'm trying to create a new window and show a FolderOpen dialog that pretty much takes the full window.
However, it is not resizing as expected and instead stays at a small (default?) size.
Example code
Screenshot of the too small dialog
Workaround
@andydotxyz pointed out that a sleep might be needed before showing the dialog.
Modifying the code snippet like this, results in the expected full-window dialog:
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: