-
Notifications
You must be signed in to change notification settings - Fork 261
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
Reimplement the add-on dialog so that it follows the selected MT theme. #4157
Conversation
Cool! The code changes look good, though the dialog itself is much harder to read as a user. There's a few things I would change:
Some screenshots on the Cyan Light theme to show what I mean. |
I will have a play around to fix it... The labels should be easy the alignment and cut off at the edge is going to be more fiddly to get something that works for all themes but doesn't leave too much room on the edge in others where it is not cut off. Its probably my lack of knowledge on the tool but I can't seem to find a way to make the intellij forms work great with resizing correctly for multiple themes (I know intellij itself does it but they also wrote their own l&f and large updates to swing, neither of which I wish to do :) ) In other news, I might have to add a feature request to start up MT with a random theme to make it easier to spot these things while developing. |
Bit of rejigging... I had to move the git link and buttons down, which made the vertical size of the dialog a bit larger. With a large font and longer URL/Git URL short description will still get truncated, but the buttons etc should be fine. Below are a few examples using different themes. |
I like it. You might have been thinking of it being something for you locally, but I think It would be a whimsical addition to core that would give adventurous people more exposure to various themes. It would be even better if you could pick particular themes to be in the rotation (or at least types, like "dark/light"). ;) |
Identify the Bug or Feature request
resolves #4154
Description of the Change
This PR reimplements the add-on dialog in Swing so that it will pick up the theme the user has selected for MapTool.
Possible Drawbacks
Should be none
Documentation Notes
Reimplements the add on dialog in Swing so that it will pick up the theme the user has selected for MapTool.
Release Notes
This change is