void DrawDetailsBox() { EditorGUILayout.BeginVertical(); { // Create vertical scroll view logDetailsScrollValues = EditorGUILayout.BeginScrollView(logDetailsScrollValues, false, false, GUIStyle.none, verticalScrollbarStyle, boxStyle); { if (selectedLog != null) { var logMessge = selectedLog.Message(); var stackTrace = selectedLog.StackTrace(); var details = String.Format("{0}\n\n{1}", logMessge, stackTrace); if (UnityEditor.EditorGUIUtility.isProSkin) { details = "<color=white>" + details + "</color>"; } EditorGUILayout.SelectableLabel(details, detailsBoxStyle, GUILayout.ExpandHeight(true)); } } EditorGUILayout.EndScrollView(); } EditorGUILayout.EndVertical(); }