From 402742feff624b4202b237e3fd14e114f45968ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaquim=20St=C3=A4hli?= Date: Fri, 16 Feb 2024 15:34:42 +0100 Subject: [PATCH] Add horizontal margin --- .../pillarbox/demo/ui/player/controls/PlayerTimeSlider.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/player/controls/PlayerTimeSlider.kt b/pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/player/controls/PlayerTimeSlider.kt index be8730c42..00029476a 100644 --- a/pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/player/controls/PlayerTimeSlider.kt +++ b/pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/player/controls/PlayerTimeSlider.kt @@ -8,6 +8,7 @@ import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.padding import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Slider import androidx.compose.material3.SliderColors @@ -93,7 +94,7 @@ fun PlayerTimeSlider( val availableCommands by player.availableCommandsAsState() val formatter = duration.getFormatter() Row( - modifier = modifier, + modifier = modifier.padding(horizontal = MaterialTheme.paddings.mini), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(MaterialTheme.paddings.mini) ) {