This commit is contained in:
Sinai
2021-12-24 15:17:35 +11:00
parent f92c215a88
commit e0f7fad00e
2 changed files with 3 additions and 5 deletions

View File

@ -34,7 +34,8 @@ namespace UnityExplorer.Inspectors
var root = base.CreateContent(parent);
// Add mask to button so text doesnt overlap on Close button
this.Button.Component.gameObject.AddComponent<Mask>().showMaskGraphic = true;
//this.Button.Component.gameObject.AddComponent<Mask>().showMaskGraphic = true;
this.Button.ButtonText.horizontalOverflow = HorizontalWrapMode.Wrap;
// Behaviour toggle