Skip to content

Commit

Permalink
Merge branch 'exelban:master' into combine_processes_option
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewr-dev authored Jan 1, 2025
2 parents 50fa7c0 + 9aaffea commit 2131504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kit/helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public func popupWithColorRow(_ view: NSView, color: NSColor, title: String, val
colorView.wantsLayer = true
colorView.layer?.backgroundColor = color.cgColor
colorView.layer?.cornerRadius = 2
let labelWidth = title.widthOfString(usingFont: .systemFont(ofSize: 13, weight: .regular)) + 5
let labelWidth = min(180, title.widthOfString(usingFont: .systemFont(ofSize: 13, weight: .regular)) + 5)
let labelView: LabelField = LabelField(frame: NSRect(x: 18, y: (22-16)/2, width: labelWidth, height: 16), title)
let valueView: ValueField = ValueField(frame: NSRect(x: 18 + labelWidth, y: (22-16)/2, width: rowView.frame.width - labelWidth - 18, height: 16), value)

Expand Down

0 comments on commit 2131504

Please sign in to comment.