From 09bf2a0fe07f0cffd53fa18a23ba5b98cc7df2d7 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Mon, 8 Feb 2021 23:51:03 +0100 Subject: [PATCH] Forgot to consider GUI scale --- nw/gui/writingstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nw/gui/writingstats.py b/nw/gui/writingstats.py index 6063ecf1..239aa079 100644 --- a/nw/gui/writingstats.py +++ b/nw/gui/writingstats.py @@ -313,7 +313,7 @@ class GuiWritingStats(QDialog): histMax = self.histMax.value() if not showIdleTime: - widthCol2 = 80 + widthCol2 = self.mainConf.pxInt(80) self.optState.setValue("GuiWritingStats", "winWidth", winWidth) self.optState.setValue("GuiWritingStats", "winHeight", winHeight)