Commit 4f844aef authored by Janet Blackquill's avatar Janet Blackquill 🌈
Browse files

kstyle: expand tools area 1px downwards if present

Border shenanigans mean that the tools area is 1px less than it should be. Incrementing it fixes this.

BUG: 431540
parent 03fb4b49
......@@ -63,6 +63,9 @@ namespace Breeze {
itemHeight = qMax(item->mapTo(window, item->rect().bottomLeft()).y(), itemHeight);
}
}
if (itemHeight > 0) {
itemHeight += window->devicePixelRatio();
}
return QRect(0, 0, window->width(), itemHeight);
}
......
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