Updates for 0.9.5
[debian/openrocket] / src / net / sf / openrocket / gui / configdialog / RingComponentConfig.java
index c658de9103fc1be277216a4ee34d0032e5cfec39..3a11c74b86da09054bd0ccbd9fd3ba51949cb736 100644 (file)
@@ -147,12 +147,12 @@ public class RingComponentConfig extends RocketComponentConfig {
                JPanel sub = materialPanel(new JPanel(new MigLayout()), Material.Type.BULK);
                
                if (component instanceof EngineBlock) {
-                       DescriptionArea desc = new DescriptionArea(6,-1);
+                       final DescriptionArea desc = new DescriptionArea(6);
                        desc.setText("<html>An <b>engine block</b> stops the motor from moving forwards " +
                                        "in the motor mount tube.<br><br>In order to add a motor, create a " +
                                        "<b>body tube</b> or <b>inner tube</b> and mark it as a motor mount in " +
                                        "the <em>Motor</em> tab.");
-                       sub.add(desc, "growx");
+                       sub.add(desc, "width 1px, growx, wrap");
                }
                panel.add(sub,"cell 4 0, gapleft paragraph, aligny 0%, spany");
                
@@ -210,7 +210,13 @@ public class RingComponentConfig extends RocketComponentConfig {
                                ((RingComponent) component).setRadialPosition(0.0);
                        }
                });
-               panel.add(button,"spanx, right");
+               panel.add(button,"spanx, right, wrap para");
+               
+               
+               DescriptionArea note = new DescriptionArea(2);
+               note.setText("Note: An inner tube will not affect the aerodynamics" +
+                               " of the rocket even if it is located outside of the body tube.");
+               panel.add(note, "spanx, growx");
                
                
                return panel;