-
Notifications
You must be signed in to change notification settings - Fork 14
UI: Add application icon for Windows and macOS #302
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
Conversation
|
Will correct these CI test errors momentarily - fixes to come with forthcoming commits. |
|
everything seems to be working now - sorry about the failed builds. I've attached a couple quick screenshots of what is being used as an app icon. The more elaborate logo tends to render well on macOS consistently, with sufficient detail. However, Windows-rendered app icons tend to be lower resolution, and the traditional LabGym logo renders poorly on smaller renders due to its detail. Thus, I introduced the alternate logo - the single mouse with the LabGym colors. The more detailed logo is still available for Windows renders, but if Windows renders below a particular size threshold (which tends to be the case), the simplified logo is offered up. Just thought I'd mention it. By the way, the simplified logo was something made rather quickly for the original purpose of being the tabbed favicon image for the 'under construction' labgym's web landing page - for all the same reasons the image was introduced here. |


Summary
This PR introduces a custom application icon for LabGym containing the LabGym logo, which can now we displayed in the macOS dock and Windows taskbar. This feature improves the user experience by giving the application a more polished and recognizable appearance, likely making it easier for users to identify.
Implementation
To achieve this, a new dedicated helper file "gui_app_icon.py" was created to handle platform-specific logic for setting the application. This new module is responsible for:
This approach keeps the icon-related code neatly encapsulated and separate from the main GUI logic.
Benefits
Notes