chore: limit player controller width to improve UI consistency

This commit is contained in:
Antoine Jaury
2026-09-30 11:18:54 +02:00
parent 46da355819
commit fe0ed2391b
2 changed files with 3 additions and 1 deletions
@@ -6,6 +6,7 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.widthIn
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
@@ -48,7 +49,7 @@ fun PlayerControl(
)
Row(
modifier = Modifier.fillMaxWidth(),
modifier = Modifier.widthIn(max = 350.dp).fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically,
) {
// Left region: the speed button is centered in the space left of the transport group.