PlasmaCore.ToolTipArea: don't lower label opacity when there is no heading present

Right now PlasmaCore's ToolTipArea lowers the opacity of its label unconditionally to 0.75.

When we have a heading present, that's ideal - it offers visual hierarchy, positioning the label as a sort of subtitle.

But when there is no heading, it doesn't make much sense to make the label faded. It also makes these tooltips inconsistent with PlasmaComponents3.ToolTip, where label opacity is 100%.

So to have better consistency, this patch restricts the lowered opacity to show up only when a heading is actually present.

BEFORE AFTER
Screenshot_20261024_163414 Screenshot_20261024_163634

Tooltips with headings still get the faded subtitle style:

image

PC3.ToolTip's label for reference:

image

Edited by Filip Fila

Merge request reports

Loading
Loading