(38baa1f78) Changed tag layout in Workshop screen to prevent overflows

This commit is contained in:
Joonas Rikkonen
2019-05-16 07:04:08 +03:00
parent 48a232533b
commit 851e6f76cd
10 changed files with 137 additions and 53 deletions
@@ -440,6 +440,25 @@ namespace Barotrauma
}
}
public string DisplayName
{
get;
private set;
}
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]
public string RoomName
{
get { return roomName; }
set
{
if (roomName == value) { return; }
roomName = value;
DisplayName = TextManager.Get(roomName, returnNull: true) ?? roomName;
}
}
public override Rectangle Rect
{
get