From aae9bda92d8991987c82eeb78b971cb2b4a0d18a Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Thu, 25 Jul 2024 22:15:54 +0200 Subject: [PATCH] feat: adjusted process view icon spacing --- Kit/process.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kit/process.swift b/Kit/process.swift index abe69979..bd93705f 100644 --- a/Kit/process.swift +++ b/Kit/process.swift @@ -133,9 +133,9 @@ public class ProcessView: NSStackView { private var valueViews: [ValueField] = [] public init(size: CGSize = CGSize(width: 264, height: 22), n: Int = 1) { - var rect = NSRect(x: 5, y: 5, width: 12, height: 12) + var rect = NSRect(x: 2, y: 5, width: 12, height: 12) if size.height != 22 { - rect = NSRect(x: 3, y: 3, width: 12, height: 12) + rect = NSRect(x: 1, y: 3, width: 12, height: 12) } self.imageView = NSImageView(frame: rect) self.killView = NSButton(frame: rect)