Commit 82d7fd7a authored by Konrad Materka's avatar Konrad Materka
Browse files

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