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

Set all dialogs to open in the center of their parent #311

Open
bparks13 opened this issue Sep 25, 2024 · 0 comments
Open

Set all dialogs to open in the center of their parent #311

bparks13 opened this issue Sep 25, 2024 · 0 comments
Assignees
Labels
fix Pull request that fixes an issue
Milestone

Comments

@bparks13
Copy link
Member

bparks13 commented Sep 25, 2024

In previous commits, panels were updated to eliminate the percent scaling issue that was being seen; while this is fixed if the dialog is opened in the same screen as the original Bonsai window, it is not correct if Bonsai is in a window with a different screen resolution than the window that the dialog is opened in.

The fix is easy; set StartPosition to CenterParent instead of the default for all dialogs that can be opened from Bonsai. This will ensure that the same resolution is used for the new window, and it should not have any issues with scale.

@bparks13 bparks13 added the fix Pull request that fixes an issue label Sep 25, 2024
@bparks13 bparks13 added this to the 0.4.0 milestone Sep 25, 2024
@bparks13 bparks13 self-assigned this Sep 25, 2024
@jonnew jonnew modified the milestones: 0.4.0, 0.5.0 Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

No branches or pull requests

2 participants