UI tweaks

This commit is contained in:
Regalis
2017-04-27 19:38:04 +03:00
parent 58de86a98f
commit 6397bc432e
5 changed files with 54 additions and 25 deletions
+14
View File
@@ -59,6 +59,20 @@ namespace Barotrauma
get { return box.Rect; }
}
public override ScalableFont Font
{
get
{
return base.Font;
}
set
{
base.Font = value;
if (text != null) text.Font = value;
}
}
public GUITickBox(Rectangle rect, string label, Alignment alignment, GUIComponent parent)
: this(rect, label, alignment, GUI.Font, parent)
{