<table><tr><td style="">brauch created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7010" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>By changing the full text, the sizeHint() of the widget changes. If the                                                                                                                      <br />
text is currently squeezed, this however does not imply that the text                                                                                                                        <br />
passed to QLabel::setText() changes (which is a no-up if not). Thus we need                                                                                                                  <br />
to call updateGeometry() to notify the layout system about the size change.                                                                                                                  <br />
Otherwise, the label misbehaves when you e.g. set the size policy to                                                                                                                         <br />
Minimum and place it next to a spacer with Expanding policy, and then                                                                                                                        <br />
change the text.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R236 KWidgetsAddons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7010" rel="noreferrer">https://phabricator.kde.org/D7010</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/ksqueezedtextlabel.cpp</div></div></div><br /><div><strong>To: </strong>brauch, cfeck<br /><strong>Cc: </strong>Frameworks<br /></div>