text input: Also update metrics when updating node

We need to recalculate alignment etc. when changing states
This commit is contained in:
Peter Hartmann 2024-10-04 14:43:24 +02:00
parent 773ec5dcfe
commit b88b3123d7
1 changed files with 1 additions and 0 deletions

View File

@ -520,6 +520,7 @@ void QskTextInput::updateLayout()
void QskTextInput::updateNode( QSGNode* node )
{
m_data->textInput->updateColors();
m_data->textInput->updateMetrics();
Inherited::updateNode( node );
}