Adjust tvOS video cell dimensions for better layout

Reduced video cell and grid item sizes on tvOS to improve layout spacing
and visual consistency. Changed grid item size from 600 to 560 pixels,
and adjusted video cell frame dimensions accordingly.
This commit is contained in:
Arkadiusz Fal
2025-11-19 18:54:51 +01:00
parent 33377f7e0e
commit a37f3e4a07
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ struct VerticalCells<Header: View>: View {
#if os(iOS) #if os(iOS)
return verticalSizeClass == .regular ? 320 : 800 return verticalSizeClass == .regular ? 320 : 800
#elseif os(tvOS) #elseif os(tvOS)
return 600 return 560
#else #else
return 320 return 320
#endif #endif
@@ -92,7 +92,7 @@ struct VerticalCells<Header: View>: View {
var adaptiveGridItemMaximumSize: Double { var adaptiveGridItemMaximumSize: Double {
#if os(tvOS) #if os(tvOS)
return 600 return 560
#else #else
return .infinity return .infinity
#endif #endif

View File

@@ -39,7 +39,7 @@ struct VideoCell: View {
Button(action: playAction) { Button(action: playAction) {
content content
#if os(tvOS) #if os(tvOS)
.frame(width: 580, height: channelOnThumbnail ? 470 : 500) .frame(width: 550, height: channelOnThumbnail ? 446 : 480)
#endif #endif
} }
.opacity(contentOpacity) .opacity(contentOpacity)