diff --git a/android/app/src/main/java/tv/orbit/classic/EmbyPlaybackDialog.kt b/android/app/src/main/java/tv/orbit/classic/EmbyPlaybackDialog.kt index 2900871..b57ac28 100644 --- a/android/app/src/main/java/tv/orbit/classic/EmbyPlaybackDialog.kt +++ b/android/app/src/main/java/tv/orbit/classic/EmbyPlaybackDialog.kt @@ -496,7 +496,9 @@ internal fun EmbyPlaybackDialog(session: EmbySampleSession, plan: EmbyPlaybackPl // list never pushes the bar off the screen (Paul, 6 November 2026). trackMenu?.let { rows -> BoxWithConstraints(Modifier.fillMaxWidth().weight(1f, fill = false)) { - val fits = ((maxHeight - 56.dp) / 34.dp).toInt().coerceIn(3, 12) + // Room kept for the panel's padding, its "more" lines and up to three headings with their dividers (Paul, + // 6 November 2026: the last row, the sleep timer's "After this programme", showed only half). + val fits = ((maxHeight - 150.dp) / 31.dp).toInt().coerceIn(3, 12) TrackPanel(rows, trackCursor, Modifier.align(Alignment.BottomEnd), maxRows = fits) } }