(de26bb46c) AutoScale CustomInterface texts to prevent overflows
This commit is contained in:
@@ -36,6 +36,7 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
UserData = ciElement
|
||||
};
|
||||
tickBox.TextBlock.AutoScale = true;
|
||||
tickBox.OnSelected += (tBox) =>
|
||||
{
|
||||
if (GameMain.Client == null)
|
||||
@@ -57,6 +58,7 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
UserData = ciElement
|
||||
};
|
||||
btn.TextBlock.AutoScale = true;
|
||||
btn.OnClicked += (_, userdata) =>
|
||||
{
|
||||
if (GameMain.Client == null)
|
||||
|
||||
Reference in New Issue
Block a user