internal static void Display() { _scrollDetailsPosition = GUILayout.BeginScrollView(_scrollDetailsPosition, RMStyle.ScrollStyle, GUILayout.Height(210), GUILayout.Width(680)); GUILayout.Label("Kerbal Medical: " + WindowRoster.SelectedKerbal.Name + " - (" + WindowRoster.SelectedKerbal.Trait + ")", RMStyle.LabelStyleBold, GUILayout.Width(500)); GUILayout.Label(""); WindowRoster.DisplaySelectType(); WindowRoster.DisplaySelectState(); DisplayAnyWarnings(); WindowRoster.SelectedKerbal.Type = WindowRoster._kerbalType; WindowRoster.SelectedKerbal.Status = WindowRoster._rosterStatus; if (!string.IsNullOrEmpty(RMAddon.SaveMessage)) { GUILayout.Label(RMAddon.SaveMessage, RMStyle.ErrorLabelRedStyle); } GUILayout.EndScrollView(); WindowRoster.DisplayActionButtonsEdit(); }
internal static void Display() { _scrollDetailsPosition = GUILayout.BeginScrollView(_scrollDetailsPosition, RMStyle.ScrollStyle, GUILayout.Height(210), GUILayout.Width(780)); // #autoLOC_RM_1106 = Kerbal Medical: GUILayout.Label($"{Localizer.Format("#autoLOC_RM_1106")} {WindowRoster.SelectedKerbal.Name} - ({WindowRoster.SelectedKerbal.Trait})", RMStyle.LabelStyleBold, GUILayout.Width(500)); GUILayout.Label(""); WindowRoster.DisplaySelectType(); WindowRoster.DisplaySelectState(); DisplayAnyWarnings(); WindowRoster.SelectedKerbal.Type = WindowRoster.Kerbal_Type; WindowRoster.SelectedKerbal.Status = WindowRoster.Roster_Status; if (!string.IsNullOrEmpty(RMAddon.SaveMessage)) { GUILayout.Label(RMAddon.SaveMessage, RMStyle.ErrorLabelRedStyle); } GUILayout.EndScrollView(); WindowRoster.DisplayActionButtonsEdit(); }