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

Unified Diff: third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPopoverHelper.js

Issue 2744773002: [DevTools] Fix ObjectPopover for objects not staying the same size (Closed)
Patch Set: Created 3 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 | « no previous file | third_party/WebKit/Source/devtools/front_end/object_ui/objectPopover.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPopoverHelper.js
diff --git a/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPopoverHelper.js b/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPopoverHelper.js
index aeaf460113ec3796634c6ffc53d671e6a3c407f8..b790cd034c2b43d8e4e9ec754e0d5e189ce30dfd 100644
--- a/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPopoverHelper.js
+++ b/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPopoverHelper.js
@@ -159,7 +159,7 @@ ObjectUI.ObjectPopoverHelper = class extends UI.PopoverHelper {
popoverContentElement.appendChild(section.element);
}
popover.setMaxContentSize(new UI.Size(300, 250));
- popover.setSizeBehavior(UI.GlassPane.SizeBehavior.SetMaxSize);
+ popover.setSizeBehavior(UI.GlassPane.SizeBehavior.SetExactSize);
popover.showForAnchor(popoverContentElement, anchorElement);
}
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/object_ui/objectPopover.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698