Commit af1d7d4f authored by Tomáš Hnyk's avatar Tomáš Hnyk Committed by Nate Graham
Browse files

applets/kicker: in Dashboard representation, allow two lines for application name

BUG: 362986
FIXED-IN: 5.26


(cherry picked from commit 49d3b465)
parent c46a487d
Pipeline #237520 passed with stage
in 6 minutes and 20 seconds
......@@ -32,7 +32,7 @@ Kicker.DashboardWindow {
property bool smallScreen: ((Math.floor(width / PlasmaCore.Units.iconSizes.huge) <= 22) || (Math.floor(height / PlasmaCore.Units.iconSizes.huge) <= 14))
property int iconSize: smallScreen ? PlasmaCore.Units.iconSizes.large : PlasmaCore.Units.iconSizes.huge
property int cellSize: iconSize + PlasmaCore.Theme.mSize(PlasmaCore.Theme.defaultFont).height
property int cellSize: iconSize + (2 * PlasmaCore.Theme.mSize(PlasmaCore.Theme.defaultFont).height)
+ (2 * PlasmaCore.Units.smallSpacing)
+ (2 * Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom,
highlightItemSvg.margins.left + highlightItemSvg.margins.right))
......
......@@ -83,7 +83,7 @@ Item {
horizontalAlignment: Text.AlignHCenter
maximumLineCount: 2
elide: Text.ElideRight
elide: Text.ElideMiddle
wrapMode: Text.Wrap
color: "white" // FIXME TODO: Respect theming?
......
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