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

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

Issue 197823010: [DevTools] Add minimum size to WebInspector.View. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@splitdip2
Patch Set: rebase 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
Index: Source/devtools/front_end/SourcesEditor.js
diff --git a/Source/devtools/front_end/SourcesEditor.js b/Source/devtools/front_end/SourcesEditor.js
index 23e9de9adcfe1954800fdd198b213f7740512bd9..5165ec45e5c4f6a9b0eda670c89022ca9fde7000 100644
--- a/Source/devtools/front_end/SourcesEditor.js
+++ b/Source/devtools/front_end/SourcesEditor.js
@@ -636,6 +636,7 @@ WebInspector.SourcesEditor.prototype = {
WebInspector.SourcesView = function()
{
WebInspector.VBox.call(this);
+ this.setMinimumSize(50, 25);
this.registerRequiredCSS("sourcesView.css");
this.element.id = "sources-panel-sources-view";
this.element.addEventListener("dragenter", this._onDragEnter.bind(this), true);

Powered by Google App Engine
This is Rietveld 408576698