You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some panel text is hard to fit in the appropriate boxes. Currently, spacing is hardcoded based on string length. However, there's a "kosher" approach:
How do we determine spacing in the Info Panel?
We just pass UiFlags::KerningFitSpacing into DrawString(). The rendering function figures out what the spacing should be by computing the width of the string before rendering and comparing it to the size of the bounding box for the text.
Some panel text is hard to fit in the appropriate boxes. Currently, spacing is hardcoded based on string length. However, there's a "kosher" approach:
Originally posted by @StephenCWills in #7688 (comment)
The text was updated successfully, but these errors were encountered: