Title: [90735] trunk/Source/WebCore
- Revision
- 90735
- Author
- mnaga...@chromium.org
- Date
- 2011-07-11 04:58:56 -0700 (Mon, 11 Jul 2011)
Log Message
Web Inspector: Fix resizing of sidebar pane in Timeline and Profile panels.
https://bugs.webkit.org/show_bug.cgi?id=64161
Reviewed by Pavel Feldman.
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel.prototype.updateMainViewWidth):
* inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewPane.prototype.updateMainViewWidth):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (90734 => 90735)
--- trunk/Source/WebCore/ChangeLog 2011-07-11 11:55:04 UTC (rev 90734)
+++ trunk/Source/WebCore/ChangeLog 2011-07-11 11:58:56 UTC (rev 90735)
@@ -1,3 +1,15 @@
+2011-07-08 Mikhail Naganov <mnaga...@chromium.org>
+
+ Web Inspector: Fix resizing of sidebar pane in Timeline and Profile panels.
+ https://bugs.webkit.org/show_bug.cgi?id=64161
+
+ Reviewed by Pavel Feldman.
+
+ * inspector/front-end/ProfilesPanel.js:
+ (WebInspector.ProfilesPanel.prototype.updateMainViewWidth):
+ * inspector/front-end/TimelineOverviewPane.js:
+ (WebInspector.TimelineOverviewPane.prototype.updateMainViewWidth):
+
2011-07-11 Pavel Feldman <pfeld...@google.com>
Web Inspector: [REGRESSION r89753-89754] highlight does not respect scroller location.
Modified: trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js (90734 => 90735)
--- trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js 2011-07-11 11:55:04 UTC (rev 90734)
+++ trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js 2011-07-11 11:58:56 UTC (rev 90735)
@@ -641,7 +641,8 @@
{
this.welcomeView.element.style.left = width + "px";
this.profileViews.style.left = width + "px";
- this.profileViewStatusBarItemsContainer.style.left = Math.max(155, width) + "px";
+ // Min width = <number of buttons on the left> * 31
+ this.profileViewStatusBarItemsContainer.style.left = Math.max(6 * 31, width) + "px";
this.resize();
},
Modified: trunk/Source/WebCore/inspector/front-end/TimelineOverviewPane.js (90734 => 90735)
--- trunk/Source/WebCore/inspector/front-end/TimelineOverviewPane.js 2011-07-11 11:55:04 UTC (rev 90734)
+++ trunk/Source/WebCore/inspector/front-end/TimelineOverviewPane.js 2011-07-11 11:58:56 UTC (rev 90735)
@@ -202,7 +202,8 @@
updateMainViewWidth: function(width, records)
{
this._overviewGrid.element.style.left = width + "px";
- this.statusBarFilters.style.left = Math.max(155, width) + "px";
+ // Min width = <number of buttons on the left> * 31
+ this.statusBarFilters.style.left = Math.max(7 * 31, width) + "px";
},
reset: function()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes