[kcmkwin/kwindecoration] Slightly improve tab bar's integration with frame
ClosedPublic

Authored by ngraham on Thu, Aug 1, 10:39 PM.

Details

Summary

The QML Window Decorations KCM uses a fake tab bar with code copied from Plasma-pa, due
to the lack of a real QML tab widget (see https://bugs.kde.org/show_bug.cgi?id=394296).
As a result, we have to manufacture our own by combining a TabBar with a frame in which
the content sits, and any change made to one needs to be applied to the other as well.

The Plasma-pa version just received a minor change in D22533. This patch implements the
same change for the Window Decorations KCM so they don't look inconsistent with one
another.

Test Plan

Before-and-afters are identical to the images in D22533

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ngraham created this revision.Thu, Aug 1, 10:39 PM
Restricted Application added a project: KWin. · View Herald TranscriptThu, Aug 1, 10:39 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
ngraham requested review of this revision.Thu, Aug 1, 10:39 PM
filipf accepted this revision.Thu, Aug 1, 10:40 PM
This revision is now accepted and ready to land.Thu, Aug 1, 10:40 PM
This revision was automatically updated to reflect the committed changes.