brauch created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY By changing the full text, the sizeHint() of the widget changes. If the text is currently squeezed, this however does not imply that the text passed to QLabel::setText() changes (which is a no-up if not). Thus we need to call updateGeometry() to notify the layout system about the size change. Otherwise, the label misbehaves when you e.g. set the size policy to Minimum and place it next to a spacer with Expanding policy, and then change the text. REPOSITORY R236 KWidgetsAddons REVISION DETAIL https://phabricator.kde.org/D7010 AFFECTED FILES src/ksqueezedtextlabel.cpp To: brauch, cfeck Cc: #frameworks