History

style: tighten provider switcher padding

Peter Steinberger committed 10 months ago

Commit 147aafe1 parent bb791e51 file · +3 −3Browse files

Unified · Split

Sources/CodexBar/StatusItemController+Menu.swift+3−3
@@ -754,8 +754,8 @@ private final class ProviderSwitcherView: NSView { · 753 unmodified lines
754754 }
755755 }
756756
757− let outerPadding: CGFloat = 6
758− let minimumGap: CGFloat = 4
757+ let outerPadding: CGFloat = 3
758+ let minimumGap: CGFloat = 2
759759
760760 if self.buttons.count == 2 {
761761 let left = self.buttons[0]
@@ -879,7 +879,7 @@ private final class ProviderSwitcherView: NSView { · 117 unmodified lines
879879 }
880880
881881 private final class PaddedToggleButton: NSButton {
882− private let contentPadding = NSEdgeInsets(top: 3, left: 8, bottom: 3, right: 8)
882+ private let contentPadding = NSEdgeInsets(top: 2, left: 5, bottom: 2, right: 5)
883883
884884 override var intrinsicContentSize: NSSize {
885885 let size = super.intrinsicContentSize

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t