|
@@ -243,7 +243,7 @@ final class DashboardView: NSView, NSTextFieldDelegate, NSSharingServicePickerDe
|
|
|
sidebar.wantsLayer = true
|
|
sidebar.wantsLayer = true
|
|
|
sidebar.layer?.backgroundColor = Theme.sidebarBackground.cgColor
|
|
sidebar.layer?.backgroundColor = Theme.sidebarBackground.cgColor
|
|
|
sidebar.layer?.cornerRadius = 16
|
|
sidebar.layer?.cornerRadius = 16
|
|
|
- sidebar.edgeInsets = NSEdgeInsets(top: 6, left: 6, bottom: 6, right: 6)
|
|
|
|
|
|
|
+ sidebar.edgeInsets = NSEdgeInsets(top: 20, left: 6, bottom: 6, right: 6)
|
|
|
sidebar.translatesAutoresizingMaskIntoConstraints = false
|
|
sidebar.translatesAutoresizingMaskIntoConstraints = false
|
|
|
|
|
|
|
|
mainHost.translatesAutoresizingMaskIntoConstraints = false
|
|
mainHost.translatesAutoresizingMaskIntoConstraints = false
|
|
@@ -2369,7 +2369,7 @@ final class DashboardView: NSView, NSTextFieldDelegate, NSSharingServicePickerDe
|
|
|
brand.maximumNumberOfLines = 2
|
|
brand.maximumNumberOfLines = 2
|
|
|
brand.preferredMaxLayoutWidth = 194
|
|
brand.preferredMaxLayoutWidth = 194
|
|
|
sidebar.addArrangedSubview(brand)
|
|
sidebar.addArrangedSubview(brand)
|
|
|
- sidebar.setCustomSpacing(10, after: brand)
|
|
|
|
|
|
|
+ sidebar.setCustomSpacing(22, after: brand)
|
|
|
|
|
|
|
|
items.enumerated().forEach { index, item in
|
|
items.enumerated().forEach { index, item in
|
|
|
let isSelected = index == selectedSidebarIndex
|
|
let isSelected = index == selectedSidebarIndex
|