@Hamed-Masafi Using a *selector to select all other widget and then using the code from your suggestion worked correctly. QString stylesheet = QString( " *{ font-size: %1px; } QToolTip{ font-size: %2pt; }" ).arg( fontSize ).arg( toolTipFontSize ); Thanks