Skip to content

Commit

Permalink
rearranged layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Wisser committed Mar 31, 2023
1 parent 955749e commit 8ba4a8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions src/main/gui/net/sf/jailer/ui/DataModelManagerDialog.form
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="0" insetsBottom="0" insetsRight="2" anchor="12" weightX="1.0" weightY="0.0"/>
<GridBagConstraints gridX="0" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="12" weightX="1.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
Expand All @@ -728,7 +728,7 @@
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="2" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="4" insetsBottom="0" insetsRight="2" anchor="12" weightX="0.0" weightY="0.0"/>
<GridBagConstraints gridX="2" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="2" insetsBottom="4" insetsRight="4" anchor="12" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
Expand Down Expand Up @@ -821,28 +821,28 @@
</Component>
<Component class="javax.swing.JButton" name="bmCancelButton">
<Properties>
<Property name="text" type="java.lang.String" value=" Cancel "/>
<Property name="text" type="java.lang.String" value="Cancel"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="bmCancelButtonActionPerformed"/>
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="3" gridY="20" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="0" insetsBottom="0" insetsRight="4" anchor="12" weightX="0.0" weightY="0.0"/>
<GridBagConstraints gridX="3" gridY="20" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="0" insetsBottom="4" insetsRight="4" anchor="12" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="bmOkButton">
<Properties>
<Property name="text" type="java.lang.String" value=" OK "/>
<Property name="text" type="java.lang.String" value="OK"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="bmOkButtonActionPerformed"/>
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="2" gridY="20" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="4" insetsBottom="0" insetsRight="2" anchor="12" weightX="1.0" weightY="0.0"/>
<GridBagConstraints gridX="2" gridY="20" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="4" insetsBottom="4" insetsRight="2" anchor="12" weightX="1.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
Expand Down
12 changes: 6 additions & 6 deletions src/main/gui/net/sf/jailer/ui/DataModelManagerDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -2238,7 +2238,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.insets = new java.awt.Insets(4, 0, 0, 2);
gridBagConstraints.insets = new java.awt.Insets(4, 0, 0, 0);
loadJMPanel.add(loadExtractionModelButton, gridBagConstraints);

jmOkButton.setText(" OK ");
Expand All @@ -2251,7 +2251,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = 3;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(4, 4, 0, 2);
gridBagConstraints.insets = new java.awt.Insets(4, 2, 4, 4);
loadJMPanel.add(jmOkButton, gridBagConstraints);

jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder("Recent Files"));
Expand Down Expand Up @@ -2320,7 +2320,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
bookmarkPanel.add(infoBarLabelBookmark, gridBagConstraints);

bmCancelButton.setText(" Cancel ");
bmCancelButton.setText("Cancel");
bmCancelButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
bmCancelButtonActionPerformed(evt);
Expand All @@ -2330,10 +2330,10 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 20;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.insets = new java.awt.Insets(4, 0, 0, 4);
gridBagConstraints.insets = new java.awt.Insets(4, 0, 4, 4);
bookmarkPanel.add(bmCancelButton, gridBagConstraints);

bmOkButton.setText(" OK ");
bmOkButton.setText("OK");
bmOkButton.setEnabled(false);
bmOkButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Expand All @@ -2345,7 +2345,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
gridBagConstraints.gridy = 20;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.insets = new java.awt.Insets(4, 4, 0, 2);
gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 2);
bookmarkPanel.add(bmOkButton, gridBagConstraints);

jTabbedPane1.addTab("Layout", bookmarkPanel);
Expand Down

0 comments on commit 8ba4a8c

Please sign in to comment.