Skip to content

Commit

Permalink
qt: Increase size of network traffic overlay
Browse files Browse the repository at this point in the history
Give the fonts in there a bit more space. Should just incorporate font 
size when determining the sizes anytime later when we have more time..
  • Loading branch information
xdustinface committed Sep 25, 2020
1 parent 82c1612 commit 64ce1b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/trafficgraphwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ void TrafficGraphWidget::paintEvent(QPaintEvent *)
const int nScale = GUIUtil::getFontScale() / 2;
const int nMarginStats = 20;
const int nPadding = 5;
const int nWidthStats = 160 + nScale * 3 - 2 * nPadding;
const int nHeightStats = 110 + nScale - 2 * nPadding;
const int nWidthStats = 170 + nScale * 3 - 2 * nPadding;
const int nHeightStats = 120 + nScale - 2 * nPadding;
const int nSizeMark = nWidthStats * 0.15;
const int nWidthText = nWidthStats * 0.45;
const int nWidthBytes = nWidthStats * 0.4;
Expand Down

0 comments on commit 64ce1b5

Please sign in to comment.