Commit 78da28e7 authored by Nate Graham's avatar Nate Graham 🔩

Merge branch 'Plasma/5.12' into Plasma/5.14

parents 9b1f3e7e 0b654afd
......@@ -600,8 +600,9 @@ FocusScope {
} else {
var iconWidth = iconSize + (2 * units.largeSpacing) + (2 * units.smallSpacing);
if (root.isContainment && isRootView && scrollArea.viewportWidth > 0) {
var extraWidth = calcExtraSpacing(iconWidth, scrollArea.viewportWidth);
return iconWidth + extraWidth;
var minIconWidth = Math.max(iconWidth, units.iconSizes.small * 8);
var extraWidth = calcExtraSpacing(minIconWidth, scrollArea.viewportWidth);
return minIconWidth + extraWidth;
} else {
return iconWidth;
}
......
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