the emphasis might also have an impact on the sizeHints

This commit is contained in:
Uwe Rathmann 2024-02-22 09:37:17 +01:00
parent 7901157b2f
commit d0dd2ac93b
1 changed files with 3 additions and 0 deletions

View File

@ -87,7 +87,10 @@ void QskPushButton::setEmphasis( Emphasis emphasis )
if ( emphasis != m_data->emphasis ) if ( emphasis != m_data->emphasis )
{ {
m_data->emphasis = emphasis; m_data->emphasis = emphasis;
resetImplicitSize();
update(); update();
Q_EMIT emphasisChanged( emphasis ); Q_EMIT emphasisChanged( emphasis );
} }
} }