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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkTimelineColumn.js

Issue 2472063003: [Devtools] Adjusted font size for new network timeline (Closed)
Patch Set: Created 4 years, 1 month 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/ui_lazy/TimelineGrid.js » ('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/network/NetworkTimelineColumn.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkTimelineColumn.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkTimelineColumn.js
index 8c9eef01db510da926dc2b7df77b7b0fe393a5a0..b99bd25aed7b80fb66cef5f9e8ef10cd0e4758b3 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkTimelineColumn.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkTimelineColumn.js
@@ -291,8 +291,11 @@ WebInspector.NetworkTimelineColumn = class extends WebInspector.VBox {
this._drawEventDividers(context);
context.restore();
+ const paddingTop = 14;
const freeZoneAtLeft = 75;
- WebInspector.TimelineGrid.drawCanvasGrid(context, this._calculator, this._fontSize, freeZoneAtLeft);
+ const freeZoneAtRight = 15;
+ const fontSize = '80%';
+ WebInspector.TimelineGrid.drawCanvasGrid(context, this._calculator, paddingTop, freeZoneAtLeft, freeZoneAtRight, fontSize);
}
/**
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineGrid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698