Commit 11e27ede authored by Joel Einbinder's avatar Joel Einbinder Committed by Commit Bot

DevTools: Set a minimum height on the WebSocketFrameView

This prevents the user from accidentally hiding the frame view
completely and being unable to figure out how to get it back.

Bug: 895548
Change-Id: I39f503faa680bc136b14e6e521a1528ab594feff
Reviewed-on: https://chromium-review.googlesource.com/c/1281873Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600136}
parent a8e41173
......@@ -81,6 +81,7 @@ Network.ResourceWebSocketFrameView = class extends UI.VBox {
const mainContainer = new UI.VBox();
mainContainer.element.appendChild(this._mainToolbar.element);
this._dataGrid.asWidget().show(mainContainer.element);
mainContainer.setMinimumSize(0, 72);
this._splitWidget.setMainWidget(mainContainer);
this._frameEmptyWidget = new UI.EmptyWidget(Common.UIString('Select frame to browse its content.'));
......
Markdown is supported
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