(be6e8e567) Fixed shuttle text overflowing in the load menu in the sub editor in German

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:33:29 +03:00
parent e768df7859
commit 15e5f8f75b
12 changed files with 255 additions and 243 deletions
@@ -1357,7 +1357,7 @@ namespace Barotrauma
if (sub.HasTag(SubmarineTag.Shuttle))
{
var shuttleText = new GUITextBlock(new RectTransform(new Vector2(0.2f, 1.0f), textBlock.RectTransform, Anchor.CenterRight),
TextManager.Get("Shuttle", fallBackTag: "RespawnShuttle"), font: GUI.SmallFont)
TextManager.Get("Shuttle", fallBackTag: "RespawnShuttle"), textAlignment: Alignment.CenterRight, font: GUI.SmallFont)
{
TextColor = textBlock.TextColor * 0.8f,
ToolTip = textBlock.ToolTip