rkflx created this revision. Restricted Application added a project: Frameworks.
REVISION SUMMARY Text could display cut off when setting indent, margin and/or frame of the label. On top of that, even when following the size hint to display the complete text, text could be elided. This is fixed by taking all chrome into account when determining elision width and when returning the size hint. For this, the relevant implementation from QLabel is used. In addition, reimplemented setter functions ensure dynamic updating of the squeezed text. Depends on https://phabricator.kde.org/D7163 TEST PLAN Previously expect-failing autotests now pass. REPOSITORY R236 KWidgetsAddons BRANCH master REVISION DETAIL https://phabricator.kde.org/D7164 AFFECTED FILES autotests/ksqueezedtextlabelautotest.cpp src/ksqueezedtextlabel.cpp src/ksqueezedtextlabel.h To: rkflx, #frameworks