Skip to content

Commit 073bdfe

Browse files
Piotr PaulskiDevtools-frontend LUCI CQ
authored andcommitted
Increase minimum width for vertical drawer
With current 100px minimum width for vertical drawer, when user opens console in both main panel and the drawer, the drawer looks weird. Increasing the minimum to 200px solves this issue by making at least the tab name visible. Fixed: 429578917 Change-Id: Id8dfb290a0eaa16a2f69fd14baab626101243035 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6895481 Reviewed-by: Natallia Harshunova <nharshunova@chromium.org> Commit-Queue: Piotr Paulski <piotrpaulski@chromium.org>
1 parent 6d5e06d commit 073bdfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front_end/ui/legacy/InspectorView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ export class InspectorView extends VBox implements ViewLocationResolver {
448448
if (drawerIsVertical) {
449449
// Set minimum size when the drawer is vertical to ensure the buttons will always be
450450
// visible during resizing.
451-
this.drawerTabbedPane.setMinimumSize(100, 27);
451+
this.drawerTabbedPane.setMinimumSize(200, 27);
452452
} else {
453453
this.drawerTabbedPane.setMinimumSize(0, 27);
454454
}

0 commit comments

Comments
 (0)