Compressed atmospheric settings in editor onto a single line.
--- a/Documents/CHANGES.txt
+++ b/Documents/CHANGES.txt
@@ -5,6 +5,7 @@
- Horizontal Acceleration
Changed: Atmospheric efficiency readout now shows as a percentage.
+ Changed: Atmospheric settings (pressure/velocity) in the editor condensed onto a single line.
Fixed: Bug where the overlays in the editor would stay open outside of parts screen.
1.0.9.2
--- a/KerbalEngineer/Editor/BuildAdvanced.cs
+++ b/KerbalEngineer/Editor/BuildAdvanced.cs
@@ -302,27 +302,21 @@
private void DrawAtmosphericDetails()
{
GUILayout.BeginHorizontal();
+ GUILayout.BeginVertical();
GUILayout.Label("Pressure: " + (this.atmosphericPercentage * 100.0f).ToString("F1") + "%", this.settingAtmoStyle, GUILayout.Width(125.0f * GuiDisplaySize.Offset));
GUI.skin = HighLogic.Skin;
+ this.atmosphericPercentage = GUILayout.HorizontalSlider(this.atmosphericPercentage, 0, 1.0f);
+ GUI.skin = null;
+ GUILayout.EndVertical();
+
+ GUILayout.Space(5.0f);
+
GUILayout.BeginVertical();
- GUILayout.FlexibleSpace();
- this.atmosphericPercentage = GUILayout.HorizontalSlider(this.atmosphericPercentage, 0, 1.0f);
- GUILayout.FlexibleSpace();
- GUILayout.EndVertical();
- GUI.skin = null;
- GUILayout.EndHorizontal();
-
- GUILayout.Space(5.0f);
-
- GUILayout.BeginHorizontal();
GUILayout.Label("Velocity: " + this.atmosphericVelocity.ToString("F1") + "m/s", this.settingAtmoStyle, GUILayout.Width(125.0f * GuiDisplaySize.Offset));
GUI.skin = HighLogic.Skin;
- GUILayout.BeginVertical();
- GUILayout.FlexibleSpace();
this.atmosphericVelocity = GUILayout.HorizontalSlider(this.atmosphericVelocity, 0, 2500f);
- GUILayout.FlexibleSpace();
- GUILayout.EndVertical();
GUI.skin = null;
+ GUILayout.EndVertical();
GUILayout.EndHorizontal();
}
Binary files a/Output/KerbalEngineer/KerbalEngineer.dll and b/Output/KerbalEngineer/KerbalEngineer.dll differ