Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
More windows button issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bonosoft committed Jul 17, 2018
1 parent b38156d commit 6a2da55
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Binary file modified out/artifacts/PhotonFileValidator.jar
Binary file not shown.
8 changes: 4 additions & 4 deletions src/photon/application/MainForm.form
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
<constraints>
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="1" fill="1" indent="0" use-parent-layout="false">
<minimum-size width="35" height="18"/>
<preferred-size width="35" height="18"/>
<preferred-size width="45" height="18"/>
<maximum-size width="45" height="18"/>
</grid>
</constraints>
Expand All @@ -210,7 +210,7 @@
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="1" fill="1" indent="0" use-parent-layout="false">
<minimum-size width="35" height="18"/>
<preferred-size width="35" height="18"/>
<preferred-size width="45" height="18"/>
<maximum-size width="45" height="18"/>
</grid>
</constraints>
Expand Down Expand Up @@ -250,7 +250,7 @@
<constraints>
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="1" fill="1" indent="0" use-parent-layout="false">
<minimum-size width="35" height="18"/>
<preferred-size width="35" height="18"/>
<preferred-size width="45" height="18"/>
<maximum-size width="45" height="18"/>
</grid>
</constraints>
Expand All @@ -263,7 +263,7 @@
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="1" fill="1" indent="0" use-parent-layout="false">
<minimum-size width="35" height="18"/>
<preferred-size width="35" height="18"/>
<preferred-size width="45" height="18"/>
<maximum-size width="45" height="18"/>
</grid>
</constraints>
Expand Down
8 changes: 4 additions & 4 deletions src/photon/application/MainForm.java
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,11 @@ private void createUIComponents() {
marginNextBtn = new JButton();
marginNextBtn.setEnabled(false);
marginNextBtn.setText(">");
panel4.add(marginNextBtn, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_NORTH, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, new Dimension(35, 18), new Dimension(35, 18), new Dimension(45, 18), 0, false));
panel4.add(marginNextBtn, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_NORTH, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, new Dimension(35, 18), new Dimension(45, 18), new Dimension(45, 18), 0, false));
marginPrevBtn = new JButton();
marginPrevBtn.setEnabled(false);
marginPrevBtn.setText("<");
panel4.add(marginPrevBtn, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_NORTH, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, new Dimension(35, 18), new Dimension(35, 18), new Dimension(45, 18), 0, false));
panel4.add(marginPrevBtn, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_NORTH, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, new Dimension(35, 18), new Dimension(45, 18), new Dimension(45, 18), 0, false));
marginInfo = new JLabel();
marginInfo.setText("");
panel4.add(marginInfo, new GridConstraints(0, 2, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 1, false));
Expand All @@ -362,11 +362,11 @@ private void createUIComponents() {
islandNextBtn = new JButton();
islandNextBtn.setEnabled(false);
islandNextBtn.setText(">");
panel5.add(islandNextBtn, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_NORTH, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, new Dimension(35, 18), new Dimension(35, 18), new Dimension(45, 18), 0, false));
panel5.add(islandNextBtn, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_NORTH, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, new Dimension(35, 18), new Dimension(45, 18), new Dimension(45, 18), 0, false));
islandPrevBtn = new JButton();
islandPrevBtn.setEnabled(false);
islandPrevBtn.setText("<");
panel5.add(islandPrevBtn, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_NORTH, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, new Dimension(35, 18), new Dimension(35, 18), new Dimension(45, 18), 0, false));
panel5.add(islandPrevBtn, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_NORTH, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, new Dimension(35, 18), new Dimension(45, 18), new Dimension(45, 18), 0, false));
layerInfo = new JLabel();
layerInfo.setText("");
panel5.add(layerInfo, new GridConstraints(0, 2, 1, 1, GridConstraints.ANCHOR_NORTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 1, false));
Expand Down

0 comments on commit 6a2da55

Please sign in to comment.