mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-10 17:08:39 +00:00
Less spacing in scroll
This commit is contained in:
parent
877c4268fd
commit
78509fb84d
@ -6,6 +6,7 @@ class ScrollViewItem: NSCustomTouchBarItem {
|
||||
super.init(identifier: identifier)
|
||||
let views = items.compactMap { $0.view }
|
||||
let stackView = NSStackView(views: views)
|
||||
stackView.spacing = 1
|
||||
stackView.orientation = .horizontal
|
||||
let scrollView = NSScrollView(frame: CGRect(origin: .zero, size: stackView.fittingSize))
|
||||
scrollView.documentView = stackView
|
||||
|
||||
Loading…
Reference in New Issue
Block a user