mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-10 21:38:04 -05:00
* visual improvement for metal and windows classic laf
This commit is contained in:
parent
9be7101759
commit
384486631a
@ -26,7 +26,7 @@ public class ChecksumButton extends JToggleButton {
|
|||||||
private static final Icon contentArea = ResourceManager.getIcon("button.checksum");
|
private static final Icon contentArea = ResourceManager.getIcon("button.checksum");
|
||||||
private static final Icon contentAreaSelected = ResourceManager.getIcon("button.checksum.selected");
|
private static final Icon contentAreaSelected = ResourceManager.getIcon("button.checksum.selected");
|
||||||
|
|
||||||
|
|
||||||
public ChecksumButton(Action action) {
|
public ChecksumButton(Action action) {
|
||||||
super(action);
|
super(action);
|
||||||
|
|
||||||
@ -37,6 +37,8 @@ public class ChecksumButton extends JToggleButton {
|
|||||||
setForeground(WHITE);
|
setForeground(WHITE);
|
||||||
setFont(new Font(DIALOG, PLAIN, 11));
|
setFont(new Font(DIALOG, PLAIN, 11));
|
||||||
|
|
||||||
|
// as image button
|
||||||
|
setBorderPainted(false);
|
||||||
setContentAreaFilled(false);
|
setContentAreaFilled(false);
|
||||||
setFocusPainted(false);
|
setFocusPainted(false);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user