[Folder View] Workaround label eliding bug
AbandonedPublic

Authored by broulik on Mar 2 2017, 3:55 PM.

Details

Reviewers
hein
Group Reviewers
Plasma
Summary

Even though we set maximumLineCount to 1 at which point it should never wrap, it sometimes prematurely elides text seemingly randomly instead, even though the Label's width is correct.

Test Plan

I checked the Label's sizes which always span the entire delegate width in list view mode and with this patch text doesn't randomly elide earlier anymore. Icon view mode unchanged.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Mar 2 2017, 3:55 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 2 2017, 3:55 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.Mar 20 2017, 5:45 PM
This revision is now accepted and ready to land.Mar 20 2017, 5:45 PM