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
+1
View File
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- show on boarding as a modal on large screens - show on boarding as a modal on large screens
- limit player controller size
### Fixed ### Fixed
@@ -6,6 +6,7 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.widthIn
import androidx.compose.material3.MaterialTheme import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment import androidx.compose.ui.Alignment
@@ -48,7 +49,7 @@ fun PlayerControl(
) )
Row( Row(
modifier = Modifier.fillMaxWidth(), modifier = Modifier.widthIn(max = 350.dp).fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically, verticalAlignment = Alignment.CenterVertically,
) { ) {
// Left region: the speed button is centered in the space left of the transport group. // Left region: the speed button is centered in the space left of the transport group.