@@ -90,6 +90,7 @@ public void layoutComponents() {
9090
9191 JPanel pnlFunctionControls = new JPanel ();
9292 pnlFunctionControls .setLayout (new BoxLayout (pnlFunctionControls , BoxLayout .Y_AXIS ));
93+ pnlFunctionControls .add (MainGui .createMarginComponent (0 , 4 ));
9394 pnlFunctionControls .add (btnLiftoff );
9495 pnlFunctionControls .add (btnLanding );
9596 pnlFunctionControls .add (btnManeuver );
@@ -100,10 +101,15 @@ public void layoutComponents() {
100101 pnlLeftPanel .setBorder (MainGui .MARGIN_BORDER_10_PX_LR );
101102 pnlLeftPanel .setLayout (new BoxLayout (pnlLeftPanel , BoxLayout .Y_AXIS ));
102103 pnlLeftPanel .add (lblAltitude );
104+ pnlLeftPanel .add (Box .createVerticalStrut (5 ));
103105 pnlLeftPanel .add (lblSurfaceAlt );
106+ pnlLeftPanel .add (Box .createVerticalStrut (5 ));
104107 pnlLeftPanel .add (lblApoapsis );
108+ pnlLeftPanel .add (Box .createVerticalStrut (5 ));
105109 pnlLeftPanel .add (lblPeriapsis );
110+ pnlLeftPanel .add (Box .createVerticalStrut (5 ));
106111 pnlLeftPanel .add (lblHorzSpeed );
112+ pnlLeftPanel .add (Box .createVerticalStrut (5 ));
107113 pnlLeftPanel .add (lblVertSpeed );
108114 pnlLeftPanel .add (Box .createGlue ());
109115
@@ -117,10 +123,15 @@ public void layoutComponents() {
117123 lblHorzSpeedValue .setAlignmentX (RIGHT_ALIGNMENT );
118124 lblVertSpeedValue .setAlignmentX (RIGHT_ALIGNMENT );
119125 pnlRightPanel .add (lblAltitudeValue );
126+ pnlRightPanel .add (Box .createVerticalStrut (5 ));
120127 pnlRightPanel .add (lblSurfaceAltValue );
128+ pnlRightPanel .add (Box .createVerticalStrut (5 ));
121129 pnlRightPanel .add (lblApoapsisValue );
130+ pnlRightPanel .add (Box .createVerticalStrut (5 ));
122131 pnlRightPanel .add (lblPeriapsisValue );
132+ pnlRightPanel .add (Box .createVerticalStrut (5 ));
123133 pnlRightPanel .add (lblHorzSpeedValue );
134+ pnlRightPanel .add (Box .createVerticalStrut (5 ));
124135 pnlRightPanel .add (lblVertSpeedValue );
125136 pnlRightPanel .add (Box .createGlue ());
126137
@@ -131,8 +142,7 @@ public void layoutComponents() {
131142
132143 JPanel pnlTelemetry = new JPanel ();
133144 pnlTelemetry .setLayout (new BoxLayout (pnlTelemetry , BoxLayout .Y_AXIS ));
134- pnlTelemetry .setBorder (new TitledBorder (null , Bundle .getString ("pnl_tel_border" ), TitledBorder .LEADING ,
135- TitledBorder .TOP , null , null ));
145+ pnlTelemetry .setBorder (new TitledBorder (null , Bundle .getString ("pnl_tel_border" )));
136146 pnlTelemetry .add (pnlLeftRightContainer );
137147 pnlTelemetry .add (Box .createGlue ());
138148 btnCancel .setAlignmentX (CENTER_ALIGNMENT );
0 commit comments