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