diff --git a/README.md b/README.md index ee30fb0..c0cc12e 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Active playback prevents idle system sleep. Local video also keeps the display a Use the titlebar's **Queue** icon or **View → Show Queue** to show the editable sidebar. **Add to Queue…** and dropping files onto the sidebar append without replacing the queue or interrupting the current item. Drag rows to reorder, remove them with the minus button, and double-click a row to play it. The current item is marked; context menus also offer Play, Remove and Move Up/Down. -The navigation/Add row has extra space above it, and queue rows use equal-width leading and remove-icon slots for balanced side margins. +The navigation/Add row has extra space above it. Queue rows use equal-width leading and remove-icon slots, with 8-point outer insets matching the gaps between icons and filenames and no additional horizontal scroll-content margin. In a normal window, showing the queue expands the window outward while preserving the video's size; hiding it removes that extra width. The sidebar meets the video directly, without a separate divider gap. The window shifts left when necessary near the screen's right edge. Fullscreen keeps its fixed bounds. diff --git a/Sources/App/TerebiApp.swift b/Sources/App/TerebiApp.swift index e7b4262..c55fdcc 100644 --- a/Sources/App/TerebiApp.swift +++ b/Sources/App/TerebiApp.swift @@ -2345,10 +2345,12 @@ private struct PlayerContent: View { } } .accessibilityAction(named: Text("Play")) { model.selectQueueItem(item.id) } + .listRowInsets(EdgeInsets(top: 0, leading: 8, bottom: 0, trailing: 8)) } .onMove { model.moveQueueItems(fromOffsets: $0, toOffset: $1) } } .listStyle(.sidebar) + .contentMargins(.horizontal, 0, for: .scrollContent) .overlay { if model.queue.items.isEmpty { Text("Drop local files here to add them to the queue.")