[Calendar] Shrink and elide week names like is done with day delegate
ClosedPublic

Authored by broulik on Mar 27 2017, 5:28 PM.

Details

Summary

This ensures week names never exceed their cell's boundaries.

BUG: 378020

Test Plan

LC_ALL=pt_PT plasmashell

I don't get why Qt shows such long names although we use Locale.ShortFormat (also doesn't make a difference whether I used dayName or standaloneDayName (which we probably should have been using to begin with)

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Mar 27 2017, 5:28 PM
Restricted Application added projects: Plasma, Frameworks. · View Herald TranscriptMar 27 2017, 5:28 PM
Restricted Application added subscribers: Frameworks, plasma-devel. · View Herald Transcript
mart accepted this revision.Mar 28 2017, 11:15 AM
This revision is now accepted and ready to land.Mar 28 2017, 11:15 AM
This revision was automatically updated to reflect the committed changes.