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

Improve editor file dialog options #99182

Merged

Conversation

timoschwarzer
Copy link
Contributor

Fixes #95079.
While fixing the check boxes not being clickable, it improves the layout to be more space efficient and clean.

Alternatives

Screenshots

Current:
image

New:
image

New with Checkboxes and OptionButtons:
image

One notable change is that the checkboxes will always be displayed above the OptionButtons, which I think is fine here. I could not come up with a case where it's strictly necessary to retain the order between the options.

@timoschwarzer timoschwarzer requested review from a team as code owners November 13, 2024 16:53
@AThousandShips AThousandShips added bug regression topic:editor usability topic:gui cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Nov 13, 2024
@timoschwarzer timoschwarzer force-pushed the fix/editor-save-dialog-options branch from e228549 to 8de06e5 Compare November 13, 2024 16:54
@AThousandShips AThousandShips added this to the 4.4 milestone Nov 13, 2024
@timoschwarzer timoschwarzer force-pushed the fix/editor-save-dialog-options branch from 8de06e5 to 575c680 Compare November 13, 2024 16:55
@timoschwarzer
Copy link
Contributor Author

If not retaining the order of options is a deal breaker, let me know. I can change the PR to group only consecutive Checkboxes and OptionButtons together.

Copy link
Member

@KoBeWi KoBeWi left a comment

Choose a reason for hiding this comment

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

I checked all alternative PRs.

#97892 does not look good with mixed options.
image
#95304 is poorly aligned.
image
#95140 has conflicts, so I didn't test it.
image
Also here's native dialog (Windows) for reference:
image
I tested with various combinations and it looks like vertical GridContainer.

I think this PR is the best option.
image
Looks very clean.

@timoschwarzer timoschwarzer force-pushed the fix/editor-save-dialog-options branch from 575c680 to 11bf2da Compare December 11, 2024 14:12
@timoschwarzer
Copy link
Contributor Author

Applied suggestions and rebased.

@Repiteo Repiteo merged commit e188cf6 into godotengine:master Dec 11, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 11, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release regression topic:editor topic:gui usability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export With Debug text can't be clicked
4 participants