summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pybootchartgui/pybootchartgui/draw.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py b/scripts/pybootchartgui/pybootchartgui/draw.py
index 09253ea185..4d76ce6e8e 100644
--- a/scripts/pybootchartgui/pybootchartgui/draw.py
+++ b/scripts/pybootchartgui/pybootchartgui/draw.py
@@ -371,6 +371,8 @@ def extents(options, xscale, trace):
371 h += 30 + bar_h 371 h += 30 + bar_h
372 if trace.mem_stats: 372 if trace.mem_stats:
373 h += meminfo_bar_h 373 h += meminfo_bar_h
374 if trace.net_stats:
375 h += (30 + bar_h) * len(trace.net_stats)
374 376
375 # Allow for width of process legend and offset 377 # Allow for width of process legend and offset
376 if w < (720 + off_x): 378 if w < (720 + off_x):