From 5bd7df98e12b4b93624a5bce0abd6cee46488b22 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Sun, 7 Nov 2021 12:04:26 +0100 Subject: [PATCH] feat: adjusted widget preview sizes --- Kit/module/widget.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kit/module/widget.swift b/Kit/module/widget.swift index e71d68bf..eabcd05f 100644 --- a/Kit/module/widget.swift +++ b/Kit/module/widget.swift @@ -78,11 +78,11 @@ public enum widget_t: String { switch preview { case is BarChart: if module == "GPU" || module == "RAM" || module == "Disk" || module == "Battery" { - width = 11 + Constants.Widget.margin.x + width = 11 + (Constants.Widget.margin.x*2) } else if module == "Fans" { - width = 22 + width = 22 + (Constants.Widget.margin.x*2) } else if module == "CPU" { - width = 30 + width = 30 + (Constants.Widget.margin.x*2) } case is SensorsWidget: if module == "Sensors" {