UI Toolkit Autofitting
Allows certain elements in UI Toolkit to be resized based on a percentage.
com.mushakushi.uitoolkitautofitting 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/uitoolkitautofitting.git README Markdown
Copy this to your project's README.md
## Installation
Add **UI Toolkit Autofitting** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/uitoolkitautofitting.git
```
[](https://www.pkglnk.dev/pkg/uitoolkitautofitting)Dependencies (1)
README
UI Toolkit Autofit
Utility for the UnityEngine.UIElements package that allows Text Elements to be resized based on a screen percent, which is
not a feature of Unity as of 2023. The components in this package should
be automatically recognized by UIToolkit. Resizable Label and Button components are provided.
See original issue on the Unity Forum where I first proposed this solution.
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In