Commit 443968a6 authored by Eugene Popov's avatar Eugene Popov Committed by Nate Graham
Browse files

Revert "Improve padding in the Places View"

This reverts commit e9a39700.
parent 7a5d4033
Pipeline #63515 passed with stage
in 4 minutes and 44 seconds
......@@ -2552,7 +2552,7 @@ void KItemListView::updateGroupHeaderHeight()
groupHeaderHeight += 2 * m_styleOption.horizontalMargin;
groupHeaderMargin = m_styleOption.horizontalMargin;
} else if (m_itemSize.isEmpty()){
groupHeaderHeight += 2 * m_styleOption.padding;
groupHeaderHeight += 4 * m_styleOption.padding;
groupHeaderMargin = m_styleOption.iconSize / 2;
} else {
groupHeaderHeight += 2 * m_styleOption.padding + m_styleOption.verticalMargin;
......
......@@ -26,7 +26,6 @@ void PlacesView::setIconSize(int size)
KItemListStyleOption option = styleOption();
option.iconSize = size;
option.padding = 4;
setStyleOption(option);
}
}
......
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