[hg] main-silver: minor layout tweak

  • From: Tomas Stupka < >
  • To:
  • Subject: [hg] main-silver: minor layout tweak
  • Date: Mon, 06 Jan 2014 19:54:14 +0000

changeset ab4d1f545bf8 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/ab4d1f545bf8
description:
        minor layout tweak

diffstat:

 
bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.form
 |  22 ++-------
 
bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.java
 |  18 ++-----
 2 files changed, 12 insertions(+), 28 deletions(-)

diffs (74 lines):

diff --git 
a/bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.form
 
b/bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.form
--- 
a/bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.form
+++ 
b/bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.form
@@ -69,30 +69,20 @@
     <DimensionLayout dim="1">
       <Group type="103" groupAlignment="0" attributes="0">
           <Group type="102" attributes="0">
-              <Group type="103" groupAlignment="0" attributes="0">
-                  <Group type="102" alignment="0" attributes="0">
                       <EmptySpace max="-2" attributes="0"/>
-                      <Component id="jLabel1" min="-2" max="-2" 
attributes="0"/>
+              <Group type="103" groupAlignment="2" attributes="0">
+                  <Component id="jLabel1" alignment="2" min="-2" max="-2" 
attributes="0"/>
+                  <Component id="jSeparator1" alignment="2" min="-2" 
pref="10" max="-2" attributes="0"/>
                   </Group>
-                  <Group type="102" alignment="0" attributes="0">
                       <EmptySpace min="-2" pref="18" max="-2" 
attributes="0"/>
-                      <Component id="jSeparator1" min="-2" pref="10" 
max="-2" attributes="0"/>
-                  </Group>
-              </Group>
-              <EmptySpace type="unrelated" max="-2" attributes="0"/>
               <Group type="103" groupAlignment="3" attributes="0">
                   <Component id="txtSync" alignment="3" min="-2" max="-2" 
attributes="0"/>
                   <Component id="cbSync" alignment="3" min="-2" max="-2" 
attributes="0"/>
               </Group>
-              <Group type="103" groupAlignment="0" attributes="0">
-                  <Group type="102" attributes="0">
                       <EmptySpace type="separate" max="-2" attributes="0"/>
-                      <Component id="jLabel4" min="-2" max="-2" 
attributes="0"/>
-                  </Group>
-                  <Group type="102" alignment="0" attributes="0">
-                      <EmptySpace min="-2" pref="25" max="-2" 
attributes="0"/>
-                      <Component id="jSeparator2" min="-2" pref="10" 
max="-2" attributes="0"/>
-                  </Group>
+              <Group type="103" groupAlignment="2" attributes="0">
+                  <Component id="jLabel4" alignment="2" min="-2" max="-2" 
attributes="0"/>
+                  <Component id="jSeparator2" alignment="2" min="-2" 
pref="10" max="-2" attributes="0"/>
               </Group>
               <EmptySpace type="unrelated" max="-2" attributes="0"/>
               <Group type="103" groupAlignment="3" attributes="0">
diff --git 
a/bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.java
 
b/bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.java
--- 
a/bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.java
+++ 
b/bugtracking/src/org/netbeans/modules/bugtracking/settings/DashboardOptions.java
@@ -164,24 +164,18 @@
         layout.setVerticalGroup(
             
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
             .addGroup(layout.createSequentialGroup()
-                
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-                    .addGroup(layout.createSequentialGroup()
                         .addContainerGap()
-                        .addComponent(jLabel1))
-                    .addGroup(layout.createSequentialGroup()
+                
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
+                    .addComponent(jLabel1)
+                    .addComponent(jSeparator1, 
javax.swing.GroupLayout.PREFERRED_SIZE, 10, 
javax.swing.GroupLayout.PREFERRED_SIZE))
                         .addGap(18, 18, 18)
-                        .addComponent(jSeparator1, 
javax.swing.GroupLayout.PREFERRED_SIZE, 10, 
javax.swing.GroupLayout.PREFERRED_SIZE)))
-                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                 
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                     .addComponent(txtSync, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE)
                     .addComponent(cbSync))
-                
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-                    .addGroup(layout.createSequentialGroup()
                         .addGap(18, 18, 18)
-                        .addComponent(jLabel4))
-                    .addGroup(layout.createSequentialGroup()
-                        .addGap(25, 25, 25)
-                        .addComponent(jSeparator2, 
javax.swing.GroupLayout.PREFERRED_SIZE, 10, 
javax.swing.GroupLayout.PREFERRED_SIZE)))
+                
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
+                    .addComponent(jLabel4)
+                    .addComponent(jSeparator2, 
javax.swing.GroupLayout.PREFERRED_SIZE, 10, 
javax.swing.GroupLayout.PREFERRED_SIZE))
                 
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                 
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                     .addComponent(txtLimitNumber, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE)

[hg] main-silver: minor layout tweak

Tomas Stupka 01/06/2014

Project Features

About this Project

ConnectedDeveloper was started in November 2009, is owned by tpavek, and has 66 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close