UnlimitedHugs / RimworldHugsLib

A lightweight shared library for Rimworld modding.
Other
245 stars 59 forks source link

Add support for a textbox using TextAreaScrollable #53

Closed SineSwiper closed 4 years ago

SineSwiper commented 4 years ago

The string widget, via DrawHandleInputText, isn't large enough to reasonable hold a string larger than 30 characters or so. I rolled my own CustomDrawer for a few settings I had, but it might be more practical to create some sort of DrawHandleInputTextbox method in Dialog_ModSettings.cs.

UnlimitedHugs commented 4 years ago

The best approach is to trim down your label to just a few words, even if they don't fully explain what the setting does. For the explanation, use the description parameter.

If you still need a long label: