mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 11:33:33 +08:00
UXAssist and CheatEnabler new release
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using BepInEx.Configuration;
|
||||
using UITools;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
@@ -57,6 +58,8 @@ public class MyCheckBox : MonoBehaviour
|
||||
cb.labelText = child.GetComponent<Text>();
|
||||
cb.labelText.fontSize = fontSize;
|
||||
cb.SetLabelText(label);
|
||||
var width = cb.labelText.preferredWidth;
|
||||
cb.labelText.rectTransform.sizeDelta = new Vector2(width, rect.sizeDelta.y);
|
||||
}
|
||||
|
||||
//value
|
||||
|
||||
Reference in New Issue
Block a user