| 93 | } |
| 94 | |
| 95 | void LabelWidget::updateTextRegion() { |
| 96 | context()->setTextStyle(m_style); |
| 97 | m_textRegion = RectI(context()->determineInterfaceTextSize(m_text, {Vec2F(), m_hAnchor, m_vAnchor, m_wrapWidth, m_textCharLimit})); |
| 98 | setSize(m_textRegion.size()); |
| 99 | } |
| 100 | |
| 101 | } |
nothing calls this directly
no test coverage detected