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

Get splash screen messages to appear on macOS #5991

Merged
merged 2 commits into from
Apr 26, 2020

Conversation

mattmcclinch
Copy link
Contributor

@mattmcclinch mattmcclinch commented Apr 25, 2020

The splash screen image used on macOS is @2x resolution, which means that
the width and height of the pixmap are twice the width and height of the
splash screen, which meant that the message text was being drawn outside
of its window. It is better to just use the widget's own width and height
properties to determine the placement of the message text.

The first commit solves the issue of messages not appearing on the splash screen on macOS.

The second commit simplifies the MsSplashScreen class so that it contains no more code than what is necessary for displaying a message in a custom location, which is really the only thing that the MsSplashScreen class offers in the first place.

The splash screen image used on macOS is @2x resolution, which means that
the width and height of the pixmap are twice the width and height of the
splash screen, which meant that the message text was being drawn outside
of its window. It is better to just use the widget's own width and height
properties to determine the placement of the message text.
@anatoly-os anatoly-os merged commit d917c51 into musescore:master Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants