mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue