Commit 654ce845 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇 Committed by Nate Graham
Browse files

[Notifications] Fix implicit size propagation in SelectableLabel

The item's implicit size is supposed to be the size of its contents.

Fixes a regression from ScrollView port and restores line count
limit behavior (8 lines on popups, no limit in history).

(cherry picked from commit 49853de1)
parent f1e9fd1f
Pipeline #152005 passed with stage
in 8 minutes and 29 seconds
......@@ -28,7 +28,8 @@ PlasmaComponents3.ScrollView {
signal clicked(var mouse)
signal linkActivated(string link)
implicitHeight: Math.min(bodyText.implicitHeight, PlasmaCore.Units.gridUnit * 5)
implicitWidth: bodyText.paintedWidth
implicitHeight: bodyText.paintedHeight
// HACK: workaround for
PlasmaComponents3.ScrollBar.horizontal.policy: PlasmaComponents3.ScrollBar.AlwaysOff
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment