From 480ad70047e54b2b92f974e6c2ac5a6c0bdc5a5c Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Sun, 18 Aug 2019 13:56:09 -0400 Subject: [PATCH] Fix new + checkbox --- cToggleButton.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cToggleButton.java b/cToggleButton.java index a9a562a..06b84ac 100644 --- a/cToggleButton.java +++ b/cToggleButton.java @@ -37,7 +37,7 @@ //if (getWidth() > image.getWidth(null) + 8) { g.drawImage(image, this.getWidth()/2 - 12, this.getHeight()/2 - 12, this); - g.drawRect(0, 0, this.getWidth()-1, this.getHeight()-1); + g.drawRect(2, 2, this.getWidth()-5, this.getHeight()-5); } } } -- Gitblit v1.6.2