Ladybird: Increase minimum tab width to 128

This is double what the previous minimum is, and is more helpful when
lots of tabs are open.
This commit is contained in:
Jamie Mansfield 2024-04-28 12:12:47 +01:00 committed by Andreas Kling
parent b9f0ea2178
commit 56ed3d5e21
Notes: sideshowbarker 2024-07-16 23:13:25 +09:00

View file

@ -15,7 +15,7 @@ QSize TabBar::tabSizeHint(int index) const
{
auto width = this->width() / count();
width = min(225, width);
width = max(64, width);
width = max(128, width);
auto hint = QTabBar::tabSizeHint(index);
hint.setWidth(width);