Skip to content

Commit 33acf76

Browse files
committed
resize stretch window
1 parent fc8879b commit 33acf76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/spv/gui/FullImageStretchPreviewFrame.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ public void setImage(BufferedImage image) {
5959
imageComponent.setImage(image);
6060

6161
imageComponent.setPreferredSize(new Dimension(image.getWidth(), image.getHeight()));
62+
6263
//TODO when blinkin for the first time if the window is not openeed before, then its size does not update accordingly...
64+
this.setSize(image.getWidth(), image.getHeight());
6365
}
6466

6567

0 commit comments

Comments
 (0)