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

Commit

Permalink
Windows button size error
Browse files Browse the repository at this point in the history
  • Loading branch information
bonosoft committed Jul 17, 2018
1 parent 0ec06bd commit b38156d
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 @@ -195,7 +195,7 @@
</hspacer>
<component id="31d5" class="javax.swing.JButton" binding="marginNextBtn">
<constraints>
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="1" fill="1" indent="0" use-parent-layout="false">
<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"/>
<maximum-size width="45" height="18"/>
Expand All @@ -208,7 +208,7 @@
</component>
<component id="7bc55" class="javax.swing.JButton" binding="marginPrevBtn">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="1" fill="1" indent="0" use-parent-layout="false">
<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"/>
<maximum-size width="45" height="18"/>
Expand Down Expand Up @@ -248,7 +248,7 @@
</hspacer>
<component id="6828f" class="javax.swing.JButton" binding="islandNextBtn">
<constraints>
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="1" fill="1" indent="0" use-parent-layout="false">
<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"/>
<maximum-size width="45" height="18"/>
Expand All @@ -261,7 +261,7 @@
</component>
<component id="e8cad" class="javax.swing.JButton" binding="islandPrevBtn">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="1" fill="1" indent="0" use-parent-layout="false">
<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"/>
<maximum-size width="45" height="18"/>
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_FIXED, 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(35, 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_FIXED, 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(35, 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_FIXED, 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(35, 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_FIXED, 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(35, 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 b38156d

Please sign in to comment.