[PC3] Only show progress bar indicator when the ends won't overlap

Authored by davidedmundson on Dec 12 2019, 4:15 PM.

Description

[PC3] Only show progress bar indicator when the ends won't overlap

Summary:
If the width is smaller than LeftMargin + Right Margin the two ends
overlap and it looks super weird

Test Plan: Progressbar manual unit test looks sane

Reviewers: Plasma

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D25926