Skip to content

Commit 5554004

Browse files
committed
Set gaps around new checkbox to default
1 parent 4a3400c commit 5554004

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

php/php.phpunit/src/org/netbeans/modules/php/phpunit/ui/customizer/CustomizerPhpUnit.form

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@
145145
</Group>
146146
<EmptySpace max="-2" attributes="0"/>
147147
<Component id="suiteInfoLabel" min="-2" max="-2" attributes="0"/>
148-
<EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/>
148+
<EmptySpace min="-2" max="-2" attributes="0"/>
149149
<Component id="scriptCheckBox" min="-2" max="-2" attributes="0"/>
150150
<EmptySpace max="-2" attributes="0"/>
151151
<Group type="103" groupAlignment="3" attributes="0">
152152
<Component id="scriptLabel" alignment="3" min="-2" max="-2" attributes="0"/>
153153
<Component id="scriptTextField" alignment="3" min="-2" max="-2" attributes="0"/>
154154
<Component id="scriptBrowseButton" alignment="3" min="-2" max="-2" attributes="0"/>
155155
</Group>
156-
<EmptySpace type="unrelated" max="-2" attributes="0"/>
156+
<EmptySpace max="-2" attributes="0"/>
157157
<Component id="isRelativePathEnabled" min="-2" max="-2" attributes="0"/>
158158
<EmptySpace max="-2" attributes="0"/>
159159
<Component id="runPhpUnitOnlyCheckBox" min="-2" max="-2" attributes="0"/>

php/php.phpunit/src/org/netbeans/modules/php/phpunit/ui/customizer/CustomizerPhpUnit.java

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ public void actionPerformed(ActionEvent evt) {
458458
.addGroup(layout.createSequentialGroup()
459459
.addComponent(scriptLabel)
460460
.addPreferredGap(ComponentPlacement.RELATED)
461-
.addComponent(scriptTextField, GroupLayout.DEFAULT_SIZE, 323, Short.MAX_VALUE)
461+
.addComponent(scriptTextField)
462462
.addPreferredGap(ComponentPlacement.RELATED)
463463
.addComponent(scriptBrowseButton))))
464464
.addGroup(layout.createSequentialGroup()
@@ -510,18 +510,16 @@ public void actionPerformed(ActionEvent evt) {
510510
.addComponent(suiteBrowseButton))
511511
.addPreferredGap(ComponentPlacement.RELATED)
512512
.addComponent(suiteInfoLabel)
513-
.addPreferredGap(ComponentPlacement.UNRELATED)
513+
.addPreferredGap(ComponentPlacement.RELATED)
514514
.addComponent(scriptCheckBox)
515-
.addGroup(layout.createParallelGroup(Alignment.LEADING, false)
516-
.addGroup(layout.createParallelGroup(Alignment.BASELINE)
517-
.addComponent(scriptTextField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
518-
.addComponent(scriptBrowseButton))
519-
.addGroup(layout.createSequentialGroup()
520-
.addGap(3, 3, 3)
521-
.addComponent(scriptLabel, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
522-
.addGap(26, 26, 26)
515+
.addPreferredGap(ComponentPlacement.RELATED)
516+
.addGroup(layout.createParallelGroup(Alignment.BASELINE)
517+
.addComponent(scriptLabel)
518+
.addComponent(scriptTextField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
519+
.addComponent(scriptBrowseButton))
520+
.addPreferredGap(ComponentPlacement.RELATED)
523521
.addComponent(isRelativePathEnabled)
524-
.addGap(18, 18, 18)
522+
.addPreferredGap(ComponentPlacement.RELATED)
525523
.addComponent(runPhpUnitOnlyCheckBox)
526524
.addPreferredGap(ComponentPlacement.RELATED)
527525
.addComponent(runTestUsingUnitCheckBox)

0 commit comments

Comments
 (0)