text input: Also update metrics when updating node
We need to recalculate alignment etc. when changing states
This commit is contained in:
parent
773ec5dcfe
commit
b88b3123d7
|
@ -520,6 +520,7 @@ void QskTextInput::updateLayout()
|
||||||
void QskTextInput::updateNode( QSGNode* node )
|
void QskTextInput::updateNode( QSGNode* node )
|
||||||
{
|
{
|
||||||
m_data->textInput->updateColors();
|
m_data->textInput->updateColors();
|
||||||
|
m_data->textInput->updateMetrics();
|
||||||
Inherited::updateNode( node );
|
Inherited::updateNode( node );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue