the emphasis might also have an impact on the sizeHints
This commit is contained in:
parent
7901157b2f
commit
d0dd2ac93b
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue