mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
images: hide border when no additional information present
This commit is contained in:
@@ -52,7 +52,7 @@ public class ImageComponentUI extends ComponentUI {
|
||||
ImageDocument document = ic.getDocument();
|
||||
BufferedImage image = document.getValue();
|
||||
if (image != null) {
|
||||
paintBorder(g, ic);
|
||||
if (ic.isFileSizeVisible()) paintBorder(g, ic);
|
||||
|
||||
Dimension size = ic.getCanvasSize();
|
||||
Graphics igc = g.create(2, 2, size.width, size.height);
|
||||
|
||||
Reference in New Issue
Block a user