Closed yuukotf2 closed 1 month ago
Hey just wanted to weigh in on this. It came to me in a dream but I realized that TextMeshPro elements have to know how big they actually are right? Well yes actually and it makes the problem super simple That fixes the auto scaling problem entirely.
I still think there is some value in having an option for users to manually resize the window, like if they want to resize it to be effectively invisible.
figured there should be something like that in the API; just hadn't gone looking. can confirm it works, pushed. worth noting, though, that even if you let nlines go to to -1 so the final height works out to 0, it seemingly still refuses to make the panel completely disappear.
also updated RiskOfOptions to use the new flag so the input field doesn't get formatted as rich text
thanks a bunch for this!
fun fact, i had velocity and update rate PRs in the works & got beaten to the punch on both counts, gg lol. gives me hope that this project is so active though. anyway, two commits that:
<mspace>
shenanigans which are in turn necessary for legibility if a number is changing super fastin combination, a format string like the following:
will get you something like this:
which i think is pretty neat