This is an automated email from the ASF dual-hosted git repository. junichi11 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 30af44cb44 Fixed gap between checkboxes in php project testing settings new 28d308b400 Merge pull request #6381 from troizet/php_testing_settings_checkboxes 30af44cb44 is described below commit 30af44cb4487eaf827120fcd74dde5bb225be535 Author: Alexey Borokhvostov <troi...@gmail.com> AuthorDate: Mon Aug 28 21:45:12 2023 +0700 Fixed gap between checkboxes in php project testing settings --- .../modules/php/project/ui/customizer/CustomizerTesting.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/php/php.project/src/org/netbeans/modules/php/project/ui/customizer/CustomizerTesting.java b/php/php.project/src/org/netbeans/modules/php/project/ui/customizer/CustomizerTesting.java index 1b80475ff4..41c6c6f603 100644 --- a/php/php.project/src/org/netbeans/modules/php/project/ui/customizer/CustomizerTesting.java +++ b/php/php.project/src/org/netbeans/modules/php/project/ui/customizer/CustomizerTesting.java @@ -133,7 +133,6 @@ public class CustomizerTesting extends JPanel { GroupLayout providersPanelLayout = new GroupLayout(providersPanel); GroupLayout.ParallelGroup horizontalGroup = providersPanelLayout.createParallelGroup(GroupLayout.Alignment.LEADING); GroupLayout.SequentialGroup verticalGroup = providersPanelLayout.createSequentialGroup(); - boolean first = true; final Collator collator = Collator.getInstance(); Collections.sort(allTestingProviders, new Comparator<PhpTestingProvider>() { @Override @@ -150,11 +149,7 @@ public class CustomizerTesting extends JPanel { } horizontalGroup.addComponent(checkBox); verticalGroup.addComponent(checkBox); - if (first) { - first = false; - } else { - verticalGroup.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED); - } + verticalGroup.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED); } providersPanel.setLayout(providersPanelLayout); providersPanelLayout.setHorizontalGroup( --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists