Changeset 70420 in webkit
- Timestamp:
- Oct 24, 2010 11:58:02 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70414 r70420 1 2010-10-24 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: polish network panel UI. 6 https://bugs.webkit.org/show_bug.cgi?id=48205 7 8 * inspector/front-end/Images/frame.png: 9 * inspector/front-end/Images/networkIcon.png: 10 * inspector/front-end/NetworkPanel.js: 11 (WebInspector.NetworkPanel.prototype._createTable): 12 (WebInspector.NetworkPanel.prototype._setLargerResources): 13 (WebInspector.NetworkPanel.prototype._toggleGridMode): 14 * inspector/front-end/networkPanel.css: 15 (.network.panel .data-grid td): 16 (.network.panel .data-grid.small td): 17 (#network-views .resource-view.headers-visible .resource-view-content): 18 (#network-views.small .resource-view.headers-visible .resource-view-content): 19 (#network-views .resource-view-headers): 20 (#network-views.small .resource-view-headers): 21 (#network-views .resource-view .tabbed-pane-header): 22 (#network-views.small .resource-view .tabbed-pane-header): 23 1 24 2010-10-24 Nikolas Zimmermann <nzimmermann@rim.com> 2 25 -
trunk/WebCore/inspector/front-end/NetworkPanel.js
r70240 r70420 181 181 columns.type.title = WebInspector.UIString("Type"); 182 182 columns.type.sortable = true; 183 columns.type.width = " 7%";183 columns.type.width = "10%"; 184 184 185 185 columns.size.titleDOMFragment = this._makeHeaderFragment(WebInspector.UIString("Size"), WebInspector.UIString("Transfer")); … … 195 195 columns.timeline.title = ""; 196 196 columns.timeline.sortable = false; 197 columns.timeline.width = " 40%";197 columns.timeline.width = "37%"; 198 198 columns.timeline.sort = "ascending"; 199 199 … … 252 252 253 253 var header = this._dataGrid.headerTableHeader("timeline"); 254 header. firstChild.appendChild(timelineSorting);254 header.replaceChild(timelineSorting, header.firstChild); 255 255 256 256 timelineSorting.addEventListener("click", function(event) { event.stopPropagation() }, false); … … 872 872 this._dataGrid.element.addStyleClass("small"); 873 873 this._timelineGrid.element.addStyleClass("small"); 874 this._viewsContainerElement.addStyleClass("small"); 874 875 } else { 875 876 this._largerResourcesButton.title = WebInspector.UIString("Use small resource rows."); 876 877 this._dataGrid.element.removeStyleClass("small"); 877 878 this._timelineGrid.element.removeStyleClass("small"); 879 this._viewsContainerElement.removeStyleClass("small"); 878 880 } 879 881 }, … … 1014 1016 widths.method = 7; 1015 1017 widths.status = 8; 1016 widths.type = 7;1018 widths.type = 10; 1017 1019 widths.size = 10; 1018 1020 widths.time = 10; 1019 widths.timeline = 40;1021 widths.timeline = 37; 1020 1022 } 1021 1023 -
trunk/WebCore/inspector/front-end/networkPanel.css
r69948 r70420 25 25 .network.panel .data-grid td { 26 26 line-height: 17px; 27 height: 37px; 27 28 border-right: 1px solid rgb(210, 210, 210); 28 29 -webkit-user-select: none; 29 30 vertical-align: middle; 31 } 32 33 .network.panel .data-grid.small td { 34 height: 17px; 30 35 } 31 36 … … 583 588 } 584 589 585 .network.panel .resource-view.headers-visible .resource-view-content { 590 #network-views .resource-view.headers-visible .resource-view-content { 591 top: 31px; 592 } 593 594 #network-views.small .resource-view.headers-visible .resource-view-content { 595 top: 23px; 596 } 597 598 #network-views .resource-view-headers { 599 top: 31px; 600 } 601 602 #network-views.small .resource-view-headers { 586 603 top: 23px; 587 604 } … … 592 609 } 593 610 594 .network.panel .resource-view .tabbed-pane-header { 611 #network-views .resource-view .tabbed-pane-header { 612 height: 31px; 613 padding-top: 11px; 614 } 615 616 #network-views.small .resource-view .tabbed-pane-header { 595 617 height: 23px; 596 618 padding-top: 3px;
Note: See TracChangeset
for help on using the changeset viewer.