This is an automated email from the ASF dual-hosted git repository.

mbien 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 5e774cb891 Fixed element positioning in code completion settings for 
php
     new 7a21a21694 Merge pull request #6512 from 
troizet/php_code_completion_settings_checkboxes
5e774cb891 is described below

commit 5e774cb891a72d581302434ff7bc5be67d5b807d
Author: Alexey Borokhvostov <[email protected]>
AuthorDate: Mon Oct 2 22:39:26 2023 +0700

    Fixed element positioning in code completion settings for php
---
 .../modules/php/editor/options/CodeCompletionPanel.form    | 14 +++++++-------
 .../modules/php/editor/options/CodeCompletionPanel.java    | 10 +++++-----
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git 
a/php/php.editor/src/org/netbeans/modules/php/editor/options/CodeCompletionPanel.form
 
b/php/php.editor/src/org/netbeans/modules/php/editor/options/CodeCompletionPanel.form
index 73450cbf7c..71d38a15db 100644
--- 
a/php/php.editor/src/org/netbeans/modules/php/editor/options/CodeCompletionPanel.form
+++ 
b/php/php.editor/src/org/netbeans/modules/php/editor/options/CodeCompletionPanel.form
@@ -83,7 +83,7 @@
                       </Group>
                   </Group>
                   <Group type="102" alignment="0" attributes="0">
-                      <EmptySpace max="-2" attributes="0"/>
+                      <EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
                       <Group type="103" groupAlignment="0" attributes="0">
                           <Component id="codeCompletionTypeLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
                           <Component id="smartRadioButton" alignment="0" 
min="-2" max="-2" attributes="0"/>
@@ -100,19 +100,19 @@
                       </Group>
                   </Group>
                   <Group type="102" alignment="0" attributes="0">
-                      <EmptySpace max="-2" attributes="0"/>
+                      <EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
                       <Component id="useLowercaseLabel" min="-2" max="-2" 
attributes="0"/>
                   </Group>
                   <Group type="102" alignment="0" attributes="0">
-                      <EmptySpace max="-2" attributes="0"/>
+                      <EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
                       <Component id="trueFalseNullCheckBox" min="-2" max="-2" 
attributes="0"/>
                   </Group>
                   <Group type="102" alignment="0" attributes="0">
-                      <EmptySpace max="-2" attributes="0"/>
+                      <EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
                       <Component id="autoCompletionCommentAsteriskLabel" 
min="-2" max="-2" attributes="0"/>
                   </Group>
                   <Group type="102" alignment="0" attributes="0">
-                      <EmptySpace max="-2" attributes="0"/>
+                      <EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
                       <Component id="autoCompletionCommentAsteriskCheckBox" 
min="-2" max="-2" attributes="0"/>
                   </Group>
               </Group>
@@ -153,9 +153,9 @@
               <Component id="currentFileVariablesRadioButton" min="-2" 
max="-2" attributes="0"/>
               <EmptySpace type="unrelated" max="-2" attributes="0"/>
               <Component id="codeCompletionTypeLabel" min="-2" max="-2" 
attributes="0"/>
-              <EmptySpace min="-2" max="-2" attributes="0"/>
+              <EmptySpace max="-2" attributes="0"/>
               <Component id="smartRadioButton" min="-2" max="-2" 
attributes="0"/>
-              <EmptySpace min="-2" max="-2" attributes="0"/>
+              <EmptySpace max="-2" attributes="0"/>
               <Component id="smartInfoLabel" min="-2" max="-2" attributes="0"/>
               <EmptySpace max="-2" attributes="0"/>
               <Component id="fullyQualifiedRadioButton" min="-2" max="-2" 
attributes="0"/>
diff --git 
a/php/php.editor/src/org/netbeans/modules/php/editor/options/CodeCompletionPanel.java
 
b/php/php.editor/src/org/netbeans/modules/php/editor/options/CodeCompletionPanel.java
index 2c37ebf34f..f52dd8ea21 100644
--- 
a/php/php.editor/src/org/netbeans/modules/php/editor/options/CodeCompletionPanel.java
+++ 
b/php/php.editor/src/org/netbeans/modules/php/editor/options/CodeCompletionPanel.java
@@ -473,7 +473,7 @@ public class CodeCompletionPanel extends JPanel {
                             .addComponent(autoStringConcatenationCheckBox)
                             
.addComponent(codeCompletionFirstClassCallableCheckBox)))
                     .addGroup(layout.createSequentialGroup()
-                        .addContainerGap()
+                        .addGap(12, 12, 12)
                         .addGroup(layout.createParallelGroup(Alignment.LEADING)
                             .addComponent(codeCompletionTypeLabel)
                             .addComponent(smartRadioButton)
@@ -486,16 +486,16 @@ public class CodeCompletionPanel extends JPanel {
                                     .addComponent(fullyQualifiedInfoLabel)
                                     .addComponent(unqualifiedInfoLabel)))))
                     .addGroup(layout.createSequentialGroup()
-                        .addContainerGap()
+                        .addGap(12, 12, 12)
                         .addComponent(useLowercaseLabel))
                     .addGroup(layout.createSequentialGroup()
-                        .addContainerGap()
+                        .addGap(12, 12, 12)
                         .addComponent(trueFalseNullCheckBox))
                     .addGroup(layout.createSequentialGroup()
-                        .addContainerGap()
+                        .addGap(12, 12, 12)
                         .addComponent(autoCompletionCommentAsteriskLabel))
                     .addGroup(layout.createSequentialGroup()
-                        .addContainerGap()
+                        .addGap(12, 12, 12)
                         .addComponent(autoCompletionCommentAsteriskCheckBox)))
                 .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
         );


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to