Commit 05c011ff authored by Nate Graham's avatar Nate Graham 🔩

Merge branch 'Plasma/5.14'

parents c2640f83 78da28e7
......@@ -606,8 +606,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