From f6f9648cce4c6690442e4f680fc16aaeeae7097d Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Sun, 27 Sep 2026 11:10:44 +0000 Subject: [PATCH] tuck the artist album row and its controls tight to the image Keep the star and more pinned to the right of the row, top-align the row so the album count sits close under the image, and let the centred shuffle button's lower half pass just above the controls. --- .../kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt b/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt index 5ff517e8..1e516c38 100644 --- a/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt +++ b/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt @@ -102,7 +102,6 @@ private val SHUFFLE_HEIGHT = 48.dp private val SHUFFLE_ICON = 30.dp private val SHUFFLE_RESERVE = 80.dp private val SHUFFLE_HANG = SHUFFLE_HEIGHT / 2 -private val SHUFFLE_ROW_CLEARANCE = TITLE_INSET + SHUFFLE_WIDTH + 8.dp internal fun estimateScrollPx( index: Int, @@ -310,8 +309,8 @@ fun ArtistDetailScreen( } } Row( - modifier = Modifier.fillMaxWidth().padding(start = 16.dp, end = SHUFFLE_ROW_CLEARANCE, top = 16.dp), - verticalAlignment = Alignment.CenterVertically, + modifier = Modifier.fillMaxWidth().padding(start = 16.dp, end = 8.dp, top = 16.dp), + verticalAlignment = Alignment.Top, ) { Text( text = "${artist?.albumCount ?: 0} ${if (artist?.albumCount == 1L) "album" else "albums"}",