Repository navigation
Paint everything in the middle of the applet - #110
Merged
Merged
Conversation
This is useful when playing multiple games on the same host to have audio only played once. To fit this on the home screen, I shifted the graphics settings up by a bit.
This was helpful to figure out how and where things are painted in order to center them in the applet later on.
Now, resizing the applet actually does something as the content is painted in the middle of it. This was fairly easy to achieve since almost all content is painted in the ContentPanel; it just had to be centered in the applet by using a GridBagLayout. Other things directly painted in the applet are the error texts and loading panel, which needed their positioning to be adjusted.
Now that the content is centered, it actually makes sense to use bigger windows more suitable for mo 8000 dern screens.
Owner
|
Thank you for the patches! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the following features:
Screencast_20240529_085056.webm
Screencast_20240529_085636.webm