philmasterplus
Active member
This patch fixes three issues with the Text Colors panel in the Preferences dialog:
P.S. While working on this, I found that setting
P.S. Woot lambda expressions!
- The "Default Color Set" and "Dark Color Set" buttons are clipped and look ugly. I added an extra JPanel subclass to separate the buttons from the the other inputs, which solved the issue. (see attachments)
before:after:
- Clicking either button will now immediately update† the font colors shown in the Preferences panel itself
- Fixed a glitch with Dark Color Set (config string). Now it works as intended.
P.S. While working on this, I found that setting
LEFT_ALIGNMENT
causes the buttons to be aligned to the right, and RIGHT_ALIGNMENT
to align them to the left. Does anyone have a clue why this is happening?P.S. Woot lambda expressions!