(fa5639a1d) Added: Space in the beginning of tutorial info frames to have indenting on all paragraphs

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:20:59 +03:00
parent 72b570f533
commit fefa1a067b
5 changed files with 3 additions and 4 deletions
@@ -527,7 +527,7 @@ namespace Barotrauma.Tutorials
titleBlock.RectTransform.IsFixedSize = true;
}
var textBlock = new GUITextBlock(new RectTransform(new Vector2(1.0f, 0.0f), infoContent.RectTransform), text, wrap: true);
var textBlock = new GUITextBlock(new RectTransform(new Vector2(1.0f, 0.0f), infoContent.RectTransform), " " + text, wrap: true);
textBlock.RectTransform.IsFixedSize = true;
infoBoxClosedCallback = callback;