broulik created this revision. broulik added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY Ensures controls update their size when font changes. The Labels inside would but the control around them not, leading to broken rendering until causing it to update by interacting with it. It has to be queued for some reason or else by the time the signal is invoked, the style hasn't caught up yet. TEST PLAN *Changed from 10pt to 12pt Before: The one I hovered updated half-way F7817652: Screenshot_20191214_114627.png <https://phabricator.kde.org/F7817652> After: All controls update immediately F7817653: Screenshot_20191214_114546.png <https://phabricator.kde.org/F7817653> REPOSITORY R858 Qt Quick Controls 2: Desktop Style REVISION DETAIL https://phabricator.kde.org/D25983 AFFECTED FILES plugin/kquickstyleitem.cpp To: broulik, #plasma Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart