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

[Sidebar] Don't apply additional leading padding

Since we are using a leading item itself for extra padding, we want to
set the leadingPadding property to 0 so we don't get anything extra.
parent 73f65a8b
......@@ -18,6 +18,8 @@ Kirigami.BasicListItem {
leading: Item {
width: (model.DepthRole > 1 && delegate.isSearching) ? (( model.DepthRole - 1 ) * Kirigami.Units.iconSizes.smallMedium) + Kirigami.Units.largeSpacing : 0
}
// We are manipulating the padding in the leading item itself, so set this to 0
leadingPadding: 0
icon: model.decoration
text: model.display
......
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