Commit 2f08da60 authored by Konrad Materka's avatar Konrad Materka

[SystemTray] Remove scrollbar paddings

Summary: Removes additional paddings. Not needed when scrollbar is no longer overlaying content. See: D26530

Test Plan:
1. Open configuration window
2. No paddings

Reviewers: #plasma_workspaces, #plasma, davidedmundson, broulik, ngraham, nicolasfella

Reviewed By: nicolasfella

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26924
parent a2a26090
......@@ -91,9 +91,6 @@ ColumnLayout {
header: Kirigami.AbstractListItem {
leftPadding: LayoutMirroring.enabled && scrollView.scrollBarVisible ? scrollView.scrollBarWidth : padding * 2
rightPadding: !LayoutMirroring.enabled && scrollView.scrollBarVisible ? scrollView.scrollBarWidth : padding * 2
hoverEnabled: false
RowLayout {
......@@ -121,9 +118,6 @@ ColumnLayout {
property: "category"
delegate: Kirigami.ListSectionHeader {
label: categoryName(section)
leftPadding: LayoutMirroring.enabled && scrollView.scrollBarVisible ? scrollView.scrollBarWidth : padding * 2
rightPadding: !LayoutMirroring.enabled && scrollView.scrollBarVisible ? scrollView.scrollBarWidth : padding * 2
}
}
......@@ -132,9 +126,6 @@ ColumnLayout {
highlighted: false
hoverEnabled: false
leftPadding: LayoutMirroring.enabled && scrollView.scrollBarVisible ? scrollView.scrollBarWidth : padding * 2
rightPadding: !LayoutMirroring.enabled && scrollView.scrollBarVisible ? scrollView.scrollBarWidth : padding * 2
property bool isPlasmoid: model.itemType === "Plasmoid"
contentItem: RowLayout {
......
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