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

wxGUI: set window offset (OS panel) for single/multiple window mode #2417

Merged

Conversation

tmszi
Copy link
Member

@tmszi tmszi commented Jun 6, 2022

Fixes #2415.

@tmszi tmszi added bug Something isn't working windows Microsoft Windows specific GUI wxGUI related macOS macOS specific backport_needed labels Jun 6, 2022
@tmszi tmszi added this to the 8.2.1 milestone Jun 6, 2022
@nilason
Copy link
Contributor

nilason commented Jun 6, 2022

Great initiative @tmszi ! At the moment I have limited time to test this.
I was initially thinking of a solution for a default of something like:

  1. Set window size of about 60-80 % of display size
  2. And Centre() the window (or even better: horizontally centred and ~1/3 from top)
  3. Then save any eventual later changes of position.

Please give me some time to test, maybe your suggested changes will work just fine.

@tmszi
Copy link
Member Author

tmszi commented Oct 5, 2022

Please give me some time to test, maybe your suggested changes will work just fine.

Could @nilason test this PR, please? Thanks. It would be good move forward with this PR.

Copy link
Contributor

@nilason nilason left a comment

Choose a reason for hiding this comment

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

Sorry for the delay and I appreciate your patience.

This works fine with my tests. Thanks @tmszi !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GUI wxGUI related macOS macOS specific windows Microsoft Windows specific
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Main GUI window bad placed on Mac
2 participants