mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-10-26 06:49:12 +03:00
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:
parent
b9f0ea2178
commit
56ed3d5e21
Notes:
sideshowbarker
2024-07-16 23:13:25 +09:00
Author: https://github.com/jamierocks Commit: https://github.com/SerenityOS/serenity/commit/56ed3d5e21 Pull-request: https://github.com/SerenityOS/serenity/pull/24148
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user