adjust network width (again)

This commit is contained in:
Serhiy Mytrovtsiy
2020-06-09 14:42:08 +02:00
parent 14eefec806
commit 46b2c1c467

View File

@@ -31,7 +31,7 @@ public class NetworkWidget: Widget {
private var downloadValue: Int64 = 0
private let store: UnsafePointer<Store>?
private var width: CGFloat = 54
private var width: CGFloat = 58
public init(preview: Bool, title: String, config: NSDictionary?, store: UnsafePointer<Store>?) {
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