From 59fde7984253e907eccba73e04f76c3f0cba46a6 Mon Sep 17 00:00:00 2001 From: Guillaume Bourassa Date: Wed, 21 Jan 2026 09:08:45 -0500 Subject: [PATCH] [Components] Changed the width of the compose PilotTextField placeholder view to fillMaxWidth --- .../com/mirego/pilot/components/ui/material3/PilotTextField.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/android/material3/src/main/kotlin/com/mirego/pilot/components/ui/material3/PilotTextField.kt b/components/android/material3/src/main/kotlin/com/mirego/pilot/components/ui/material3/PilotTextField.kt index e73a386e..d29b2171 100644 --- a/components/android/material3/src/main/kotlin/com/mirego/pilot/components/ui/material3/PilotTextField.kt +++ b/components/android/material3/src/main/kotlin/com/mirego/pilot/components/ui/material3/PilotTextField.kt @@ -1,6 +1,7 @@ package com.mirego.pilot.components.ui.material3 import androidx.compose.foundation.interaction.MutableInteractionSource +import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.text.KeyboardActions import androidx.compose.foundation.text.KeyboardOptions import androidx.compose.material3.LocalTextStyle @@ -55,6 +56,7 @@ public fun PilotTextField( onValueChange = pilotTextField::onValueChange, placeholder = { Text( + modifier = Modifier.fillMaxWidth(), text = placeHolder, style = placeHolderStyle, )