|
|
@@ -1753,6 +1753,7 @@ class ViewController: NSViewController {
|
|
|
row.spacing = 6
|
|
|
row.translatesAutoresizingMaskIntoConstraints = false
|
|
|
gridStack.addArrangedSubview(row)
|
|
|
+ row.widthAnchor.constraint(equalTo: gridStack.widthAnchor).isActive = true
|
|
|
|
|
|
for weekday in 0..<7 {
|
|
|
let cellIndex = (week * 7) + weekday
|
|
|
@@ -3391,7 +3392,7 @@ class ViewController: NSViewController {
|
|
|
schedulerCalendarTopRow.distribution = .fill
|
|
|
schedulerCalendarTopRow.spacing = 10
|
|
|
|
|
|
- let schedulerConnectLabel = makeLabel("Connect calendar", size: 18, color: accentBlue, weight: .semibold, centered: false)
|
|
|
+ let schedulerConnectLabel = makeLabel("Zoom calendar", size: 18, color: accentBlue, weight: .semibold, centered: false)
|
|
|
let schedulerPlusButton = NSButton(title: "", target: nil, action: nil)
|
|
|
schedulerPlusButton.isBordered = false
|
|
|
schedulerPlusButton.bezelStyle = .shadowlessSquare
|
|
|
@@ -3422,7 +3423,8 @@ class ViewController: NSViewController {
|
|
|
let schedulerWeekdaysRow = NSStackView()
|
|
|
schedulerWeekdaysRow.orientation = .horizontal
|
|
|
schedulerWeekdaysRow.distribution = .fillEqually
|
|
|
- schedulerWeekdaysRow.spacing = 4
|
|
|
+ // Match date-row spacing so each date column aligns under weekday labels.
|
|
|
+ schedulerWeekdaysRow.spacing = 6
|
|
|
let weekdaySymbols = ["S", "M", "T", "W", "T", "F", "S"]
|
|
|
for symbol in weekdaySymbols {
|
|
|
let weekdayLabel = makeLabel(symbol, size: 12, color: mutedText, weight: .medium, centered: true)
|
|
|
@@ -3432,6 +3434,7 @@ class ViewController: NSViewController {
|
|
|
let schedulerCalendarGrid = NSStackView()
|
|
|
schedulerCalendarGrid.orientation = .vertical
|
|
|
schedulerCalendarGrid.distribution = .fillEqually
|
|
|
+ schedulerCalendarGrid.alignment = .leading
|
|
|
schedulerCalendarGrid.spacing = 6
|
|
|
|
|
|
let schedulerRightTopRow = NSStackView()
|