From 46b2c1c46715e66976574d0b870890f8e485c11d Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Tue, 9 Jun 2020 14:42:08 +0200 Subject: [PATCH] adjust network width (again) --- ModuleKit/Widgets/Network.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ModuleKit/Widgets/Network.swift b/ModuleKit/Widgets/Network.swift index 6adfec18..802937b9 100644 --- a/ModuleKit/Widgets/Network.swift +++ b/ModuleKit/Widgets/Network.swift @@ -31,7 +31,7 @@ public class NetworkWidget: Widget { private var downloadValue: Int64 = 0 private let store: UnsafePointer? - private var width: CGFloat = 54 + private var width: CGFloat = 58 public init(preview: Bool, title: String, config: NSDictionary?, store: UnsafePointer?) { let widgetTitle: String = title @@ -78,7 +78,7 @@ public class NetworkWidget: Widget { } if self.valueState { - let rowWidth: CGFloat = 44 + let rowWidth: CGFloat = 48 let rowHeight: CGFloat = self.frame.height / 2 let style = NSMutableParagraphStyle() style.alignment = .right