-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix: Increase height of 'About' window #1737
Conversation
This about window is only used on Windows and Linux, on macOS the native I see the Copyright notice is missing for the other platforms, it would be great if you could add it as well @akaustav. Edit: Just noticed we already had the copyright notice, but there was an error in the path, so took the liberty to fix it on your branch. |
Cool, thanks @mathiasvr. I confirm that the copyright information is available in the window now. However, |
Also, I see that the lines related to Help menu in Windows and Linux: webtorrent-desktop/src/main/menu.js Lines 441 to 450 in 0198d74
Also, like @mathiasvr said, here is the code snippet for Mac (Darwin): webtorrent-desktop/src/main/menu.js Lines 340 to 347 in 0198d74
However, I fail to understand what controls the height of the about dialog in macOS. Does macOS automatically adjust the window width and height to accommodate the contents? Or is there a setting in a configuration file somewhere? Also, would you think it is a good idea to keep the dimensions of the About window/dialog box consistent across multiple platforms? |
@akaustav On mac the about window is populated with info from the packaging process, and I believe you are correct that the dimensions are automatically adjusted. I think dimensions should be the same across platforms, but it's more important to have a consistent look. It's weird that there is such a big difference between macOS and Windows? However, as long as it looks good in Windows and Linux it's fine since we don't use this window on mac. |
This fix looks great, but I found two small issues 😅
I will add this corrections in the following commit 👍 |
Good work @akaustav and @mathiasvr 🎉 |
Thanks @hicom150, nice catches 👍 |
What is the purpose of this pull request?
What changes did you make?
Increased the height of the About WebTorrent window which shows when you click Help > About WebTorrent.
Which issue (if any) does this pull request address?
#1736
Is there anything you'd like reviewers to focus on?
Screenshot