Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1798)

Unified Diff: Source/devtools/front_end/ElementsPanel.js

Issue 197823010: [DevTools] Add minimum size to WebInspector.View. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@splitdip2
Patch Set: fixed comments Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/DOMExtension.js ('k') | Source/devtools/front_end/HeapSnapshotView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ElementsPanel.js
diff --git a/Source/devtools/front_end/ElementsPanel.js b/Source/devtools/front_end/ElementsPanel.js
index ff2f3cd18d0611194fe6bf35fb46231a8dd47bf8..01c9f0ccbab9a754f38d3746a7204d6c90e5d068 100644
--- a/Source/devtools/front_end/ElementsPanel.js
+++ b/Source/devtools/front_end/ElementsPanel.js
@@ -52,12 +52,11 @@ WebInspector.ElementsPanel = function()
this.setHideOnDetach();
this._splitView = new WebInspector.SplitView(true, true, "elementsPanelSplitViewState", 325, 325);
- this._splitView.setSidebarElementConstraints(25, 25);
- this._splitView.setMainElementConstraints(25, 19);
this._splitView.addEventListener(WebInspector.SplitView.Events.SidebarSizeChanged, this._updateTreeOutlineVisibleWidth.bind(this));
this._splitView.show(this.element);
this._searchableView = new WebInspector.SearchableView(this);
+ this._searchableView.setMinimumSize(25, 19);
this._searchableView.show(this._splitView.mainElement());
var stackElement = this._searchableView.element;
« no previous file with comments | « Source/devtools/front_end/DOMExtension.js ('k') | Source/devtools/front_end/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698