Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion src/logic/Appearance.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,20 @@ class Appearance {
cellCornerRadius = 10
windowCornerRadius = 23
edgeInsetsSize = 7
maxWidthOnScreen = isHorizontalScreen ? 0.6 : 0.8
// Apply Titles-specific adjustment for ultrawides
// The comfortableWidth formula works well for thumbnails (visual scanning)
// but titles (text reading) benefit from narrower widths on ultrawides
let aspectRatio = NSScreen.preferred.ratio()
if aspectRatio >= 3.0 {
// Super ultrawide: Apply reduction while respecting physical size lower bound
maxWidthOnScreen = max(0.3, maxWidthOnScreen * 0.65)
} else if aspectRatio >= 2.3 {
// Regular ultrawide: Modest reduction for text readability
maxWidthOnScreen = max(0.45, maxWidthOnScreen * 0.85)
} else {
// Normal screens: preserve original behavior
maxWidthOnScreen = isHorizontalScreen ? 0.6 : 0.8
}
windowMinWidthInRow = 0.6
windowMaxWidthInRow = 0.9
rowsCount = 1
Expand Down