Skip to content

Commit

Permalink
Test Properties panel UI Improvment
Browse files Browse the repository at this point in the history
  • Loading branch information
B2B\alayel committed May 7, 2024
1 parent 764d405 commit 8f86398
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,0,-34,0,0,2,41"/>
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,0,-52,0,0,2,41"/>
</AuxValues>

<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
Expand Down Expand Up @@ -57,14 +57,14 @@
<Component id="testGeneratorParamsLabel" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="testGeneratorDirLabel" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="separate" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="testGeneratorParamsTextField" pref="378" max="32767" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<Component id="testGeneratorDirTextField" pref="294" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="testGeneratorDirTextField" pref="335" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="testGeneratorDirButton" min="-2" max="-2" attributes="0"/>
</Group>
<Component id="testGeneratorParamsTextField" max="32767" attributes="0"/>
<Component id="testGeneratorComboBox" alignment="1" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
Expand Down Expand Up @@ -191,20 +191,24 @@
<Component id="testFrameworkParamsLabel" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="testFrameworkLabel" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="55" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="45" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Component id="testFrameworkParamsTextField" max="32767" attributes="0"/>
<EmptySpace min="-2" pref="7" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="1" attributes="0">
<Component id="testFrameworkDirTextField" pref="296" max="32767" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="testFrameworkComboBox" max="32767" attributes="0"/>
<Group type="102" attributes="0">
<Component id="testFrameworkDirTextField" pref="333" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="testDirButton" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="testDirButton" min="-2" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="testFrameworkParamsTextField" pref="379" max="32767" attributes="0"/>
<EmptySpace min="1" pref="1" max="-2" attributes="0"/>
</Group>
<Component id="testFrameworkComboBox" pref="380" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addComponent(testGeneratorLabel)
.addComponent(testGeneratorParamsLabel)
.addComponent(testGeneratorDirLabel))
.addGap(18, 18, 18)
.addGap(12, 12, 12)
.addGroup(testGeneratorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(testGeneratorParamsTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 378, Short.MAX_VALUE)
.addGroup(testGeneratorPanelLayout.createSequentialGroup()
.addComponent(testGeneratorDirTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 294, Short.MAX_VALUE)
.addComponent(testGeneratorDirTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 335, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(testGeneratorDirButton))
.addComponent(testGeneratorParamsTextField)
.addComponent(testGeneratorComboBox, javax.swing.GroupLayout.Alignment.TRAILING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addContainerGap())
);
Expand Down Expand Up @@ -175,17 +175,19 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addComponent(testFrameworkDirLabel)
.addComponent(testFrameworkParamsLabel)
.addComponent(testFrameworkLabel))
.addGap(55, 55, 55)
.addGap(45, 45, 45)
.addGroup(testFrameworkPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, testFrameworkPanelLayout.createSequentialGroup()
.addComponent(testFrameworkDirTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 296, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(testDirButton))
.addGroup(testFrameworkPanelLayout.createSequentialGroup()
.addComponent(testFrameworkParamsTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 379, Short.MAX_VALUE)
.addGap(1, 1, 1))
.addComponent(testFrameworkComboBox, 0, 380, Short.MAX_VALUE))
.addContainerGap())
.addComponent(testFrameworkParamsTextField)
.addGap(7, 7, 7))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, testFrameworkPanelLayout.createSequentialGroup()
.addGroup(testFrameworkPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(testFrameworkComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(testFrameworkPanelLayout.createSequentialGroup()
.addComponent(testFrameworkDirTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 333, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(testDirButton)))
.addContainerGap())))
);
testFrameworkPanelLayout.setVerticalGroup(
testFrameworkPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
Expand Down

0 comments on commit 8f86398

Please sign in to comment.