Author: Paul_R
Date: 2008-09-22 12:34:40 +0200 (Mon, 22 Sep 2008)
New Revision: 1952

Modified:
   
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/advancedViewPanel.java
   
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/controlPanel.java
   
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/generalControlPanel.java
   
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/ledPanel.java
   
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/ttsPanel.java
Log:
* Fix bug #12 "Control the Droid checkboxes layout problem."
  I've added a space before the labels. 


Modified: 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/advancedViewPanel.java
===================================================================
--- 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/advancedViewPanel.java
      2008-09-22 10:07:15 UTC (rev 1951)
+++ 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/advancedViewPanel.java
      2008-09-22 10:34:40 UTC (rev 1952)
@@ -70,7 +70,7 @@
                     GridBagConstraints.BOTH, 
                     new Insets(0, 0, 0, 0), 0, 0));
         win.chkAdvancedView.setBounds(10, 30, 205, 20);
-        win.chkAdvancedView.setText(bundle.getString("chkAdvancedView")); 
//$NON-NLS-1$
+        win.chkAdvancedView.setText(" " + 
bundle.getString("chkAdvancedView")); //$NON-NLS-1$
 
         win.chkAdvancedView.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent evt) {

Modified: 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/controlPanel.java
===================================================================
--- 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/controlPanel.java
   2008-09-22 10:07:15 UTC (rev 1951)
+++ 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/controlPanel.java
   2008-09-22 10:34:40 UTC (rev 1952)
@@ -197,8 +197,8 @@
         win.panEyesCtl.add(win.radEyesCount);
         win.panEyesCtl.add(win.radEyesDuring);
         win.radEyesCount.setSelected(true);
-        win.radEyesCount.setText(bundle.getString("radEyesCount")); 
//$NON-NLS-1$
-        win.radEyesDuring.setText(bundle.getString("radEyesDuring")); 
//$NON-NLS-1$
+        win.radEyesCount.setText(" " + bundle.getString("radEyesCount")); 
//$NON-NLS-1$
+        win.radEyesDuring.setText(" " + bundle.getString("radEyesDuring")); 
//$NON-NLS-1$
         win.getRadEyes().add(win.radEyesCount);
         win.getRadEyes().add(win.radEyesDuring);
         win.radEyesCount.setBounds(125, 20, 65, 20);
@@ -272,8 +272,8 @@
         win.radMouthDuring = new JRadioButton();
         win.panMouthCtl.add(win.radMouthCount);
         win.panMouthCtl.add(win.radMouthDuring);
-        win.radMouthCount.setText(bundle.getString("radMouthCount")); 
//$NON-NLS-1$
-        win.radMouthDuring.setText(bundle.getString("radMouthDuring")); 
//$NON-NLS-1$
+        win.radMouthCount.setText(" " + bundle.getString("radMouthCount")); 
//$NON-NLS-1$
+        win.radMouthDuring.setText(" " + bundle.getString("radMouthDuring")); 
//$NON-NLS-1$
         win.radMouthCount.setSelected(true);
         win.getRadMouth().add(win.radMouthCount);
         win.getRadMouth().add(win.radMouthDuring);
@@ -366,8 +366,8 @@
         win.radFlippersDuring = new JRadioButton();
         win.panFlippersCtl.add(win.radFlippersCount);
         win.panFlippersCtl.add(win.radFlippersDuring);
-        win.radFlippersCount.setText(bundle.getString("radFlippersCount")); 
//$NON-NLS-1$
-        win.radFlippersDuring.setText(bundle.getString("radFlippersDuring")); 
//$NON-NLS-1$
+        win.radFlippersCount.setText(" " + 
bundle.getString("radFlippersCount")); //$NON-NLS-1$
+        win.radFlippersDuring.setText(" " + 
bundle.getString("radFlippersDuring")); //$NON-NLS-1$
         win.radFlippersCount.setSelected(true);
         win.getRadFlippers().add(win.radFlippersCount);
         win.getRadFlippers().add(win.radFlippersDuring);
@@ -442,8 +442,8 @@
         win.radSpinDuring = new JRadioButton();
         win.panSpinCtl.add(win.radSpinCount);
         win.panSpinCtl.add(win.radSpinDuring);
-        win.radSpinCount.setText(bundle.getString("radSpinCount")); 
//$NON-NLS-1$
-        win.radSpinDuring.setText(bundle.getString("radSpinDuring")); 
//$NON-NLS-1$
+        win.radSpinCount.setText(" " + bundle.getString("radSpinCount")); 
//$NON-NLS-1$
+        win.radSpinDuring.setText(" " + bundle.getString("radSpinDuring")); 
//$NON-NLS-1$
         win.radSpinCount.setSelected(true);
         win.getRadSpin().add(win.radSpinCount);
         win.getRadSpin().add(win.radSpinDuring);
@@ -477,8 +477,8 @@
         win.radSpinRight = new JRadioButton();
         win.panSpinCtl.add(win.radSpinLeft);
         win.panSpinCtl.add(win.radSpinRight);
-        win.radSpinLeft.setText(bundle.getString("radSpinLeft")); //$NON-NLS-1$
-        win.radSpinRight.setText(bundle.getString("radSpinRight")); 
//$NON-NLS-1$
+        win.radSpinLeft.setText(" " + bundle.getString("radSpinLeft")); 
//$NON-NLS-1$
+        win.radSpinRight.setText(" " + bundle.getString("radSpinRight")); 
//$NON-NLS-1$
         win.radSpinLeft.setSelected(true);
         win.getRadDir().add(win.radSpinLeft);
         win.getRadDir().add(win.radSpinRight);

Modified: 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/generalControlPanel.java
===================================================================
--- 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/generalControlPanel.java
    2008-09-22 10:07:15 UTC (rev 1951)
+++ 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/generalControlPanel.java
    2008-09-22 10:34:40 UTC (rev 1952)
@@ -81,7 +81,7 @@
         win.btnGeneralStop.setContentAreaFilled(false);
         win.btnGeneralStop.setBorderPainted(false);
         win.btnGeneralStop.setIcon(win.iconStop);
-        win.btnGeneralStop.setText(bundle.getString("btnGeneral")); 
//$NON-NLS-1$
+        win.btnGeneralStop.setText(" " + bundle.getString("btnGeneral")); 
//$NON-NLS-1$
         win.btnGeneralStop.setHorizontalTextPosition(SwingConstants.RIGHT);
         win.btnGeneralStop.setHorizontalAlignment(SwingConstants.LEFT);
         win.btnGeneralStop.setFocusable(false);

Modified: 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/ledPanel.java
===================================================================
--- 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/ledPanel.java
       2008-09-22 10:07:15 UTC (rev 1951)
+++ 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/ledPanel.java
       2008-09-22 10:34:40 UTC (rev 1952)
@@ -139,9 +139,9 @@
         win.panLedsCtl.add(win.radLedsFade);
         win.panLedsCtl.add(win.radLedsGradiant);
         win.radLedsNone.setSelected(true);
-        win.radLedsNone.setText(bundle.getString("lblLedsEffectNone")); 
//$NON-NLS-1$
-        win.radLedsFade.setText(bundle.getString("lblLedsEffectFade")); 
//$NON-NLS-1$
-        
win.radLedsGradiant.setText(bundle.getString("lblLedsEffectGradiant")); 
//$NON-NLS-1$
+        win.radLedsNone.setText(" " + bundle.getString("lblLedsEffectNone")); 
//$NON-NLS-1$
+        win.radLedsFade.setText(" " + bundle.getString("lblLedsEffectFade")); 
//$NON-NLS-1$
+        win.radLedsGradiant.setText(" " + 
bundle.getString("lblLedsEffectGradiant")); //$NON-NLS-1$
 
         win.getRadLeds().add(win.radLedsNone);
         win.getRadLeds().add(win.radLedsFade);

Modified: 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/ttsPanel.java
===================================================================
--- 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/ttsPanel.java
       2008-09-22 10:07:15 UTC (rev 1951)
+++ 
software_suite_v2/software/tools/tuxController/trunk/src/GUI/components/ttsPanel.java
       2008-09-22 10:34:40 UTC (rev 1952)
@@ -103,7 +103,7 @@
                     GridBagConstraints.WEST, 
                     GridBagConstraints.BOTH, 
                     new Insets(0, 0, 0, 0), 0, 0));
-        win.chkTTS.setText(bundle.getString("chkTTS")); //$NON-NLS-1$
+        win.chkTTS.setText(" " + bundle.getString("chkTTS")); //$NON-NLS-1$
         win.chkTTS.setOpaque(false);
         win.chkTTS.setMargin(new java.awt.Insets(2, 10, 2, 1));
         win.chkTTS.addActionListener(new ActionListener() {


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to