Quellcode durchsuchen

Add top padding to sidebar title and Home navigation.

Increase sidebar top inset and spacing below the App for Indeed brand label.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 vor 2 Monaten
Ursprung
Commit
27ccc3d233
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      App for Indeed/Views/DashboardView.swift

+ 2 - 2
App for Indeed/Views/DashboardView.swift

@@ -243,7 +243,7 @@ final class DashboardView: NSView, NSTextFieldDelegate, NSSharingServicePickerDe
         sidebar.wantsLayer = true
         sidebar.layer?.backgroundColor = Theme.sidebarBackground.cgColor
         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
 
         mainHost.translatesAutoresizingMaskIntoConstraints = false
@@ -2369,7 +2369,7 @@ final class DashboardView: NSView, NSTextFieldDelegate, NSSharingServicePickerDe
         brand.maximumNumberOfLines = 2
         brand.preferredMaxLayoutWidth = 194
         sidebar.addArrangedSubview(brand)
-        sidebar.setCustomSpacing(10, after: brand)
+        sidebar.setCustomSpacing(22, after: brand)
 
         items.enumerated().forEach { index, item in
             let isSelected = index == selectedSidebarIndex