Skip to content

Commit

Permalink
resize stretch window
Browse files Browse the repository at this point in the history
  • Loading branch information
ppissias committed Feb 14, 2023
1 parent fc8879b commit 33acf76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/spv/gui/FullImageStretchPreviewFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ public void setImage(BufferedImage image) {
imageComponent.setImage(image);

imageComponent.setPreferredSize(new Dimension(image.getWidth(), image.getHeight()));

//TODO when blinkin for the first time if the window is not openeed before, then its size does not update accordingly...
this.setSize(image.getWidth(), image.getHeight());
}


Expand Down

0 comments on commit 33acf76

Please sign in to comment.