Commit f4d46cd8 authored by Nate Graham's avatar Nate Graham
Browse files

[applets/systemtray] Add side margins for grid item text

This makes sure that the text doesn't touch the edges of the highlight
rect with languages that have very long words, like German and Brazilian
Portuguese.
parent 36300427
......@@ -145,6 +145,8 @@ PlasmaCore.ToolTipArea {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.leftMargin: abstractItem.inHiddenLayout ? units.smallSpacing : 0
Layout.rightMargin: abstractItem.inHiddenLayout ? units.smallSpacing : 0
Layout.bottomMargin: abstractItem.inHiddenLayout ? units.smallSpacing : 0
visible: abstractItem.inHiddenLayout && !root.activeApplet
......
Markdown is supported
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