Skip to content

Commit

Permalink
Fix buttons position
Browse files Browse the repository at this point in the history
  • Loading branch information
LabunskyA committed Jan 20, 2015
1 parent 6c54031 commit 62f28dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Window.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ void draw() {
bufferedNyaImage = ImageIO.read(Zerochan.nyaURL);
Integer nyaImageHeight = bufferedNyaImage.getHeight();
Integer nyaImageWidth = bufferedNyaImage.getWidth();
Dimension maximumSizeForTheFistArea = new Dimension((nyaImageWidth - 204) / 2 - 16, 48);
Dimension maximumSizeForTheSecondArea = new Dimension((nyaImageWidth - 204) / 2 - 48, 48);
Dimension maximumSizeForTheFistArea = new Dimension((nyaImageWidth - 205) / 2 - 32, 48);
Dimension maximumSizeForTheSecondArea = new Dimension((nyaImageWidth - 205) / 2 - 48, 48);
Dimension minimumWindowSize = new Dimension(297, 0); //just buttons size
Integer maxContentPaneHeight = nyaImageHeight + 48 + dataField.getHeight();

Expand Down

0 comments on commit 62f28dc

Please sign in to comment.