From 8fbaea0c193694f11dcedfafb6f959f45c755f03 Mon Sep 17 00:00:00 2001 From: jinukeu Date: Tue, 5 Dec 2023 00:33:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=85=8D=EC=8A=A4=ED=8A=B8=EA=B0=80=20?= =?UTF-8?q?=EB=8B=AB=EA=B8=B0=20=EC=95=84=EC=9D=B4=EC=BD=98=EC=9D=84=20?= =?UTF-8?q?=EA=B0=80=EB=A6=AC=EB=8A=94=20=ED=98=84=EC=83=81=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designsystem/component/textfield/SuwikiTextFieldRegular.kt | 3 +-- .../designsystem/component/textfield/SuwikiTextFieldSmall.kt | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/textfield/SuwikiTextFieldRegular.kt b/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/textfield/SuwikiTextFieldRegular.kt index 067eff916..87bdaea6c 100644 --- a/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/textfield/SuwikiTextFieldRegular.kt +++ b/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/textfield/SuwikiTextFieldRegular.kt @@ -13,7 +13,6 @@ import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.heightIn import androidx.compose.foundation.layout.size -import androidx.compose.foundation.layout.wrapContentSize import androidx.compose.foundation.text.BasicTextField import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.Text @@ -88,7 +87,7 @@ fun SuwikiTextFieldRegular( verticalAlignment = Alignment.CenterVertically, ) { Box( - modifier = Modifier.wrapContentSize(), + modifier = Modifier.weight(1f), contentAlignment = Alignment.CenterStart, ) { innerText() diff --git a/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/textfield/SuwikiTextFieldSmall.kt b/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/textfield/SuwikiTextFieldSmall.kt index 418324cf3..bc75ab897 100644 --- a/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/textfield/SuwikiTextFieldSmall.kt +++ b/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/textfield/SuwikiTextFieldSmall.kt @@ -14,7 +14,6 @@ import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.heightIn import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size -import androidx.compose.foundation.layout.wrapContentSize import androidx.compose.foundation.text.BasicTextField import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.Text @@ -72,7 +71,7 @@ fun SuwikiTextFieldSmall( verticalAlignment = Alignment.CenterVertically, ) { Box( - modifier = Modifier.wrapContentSize(), + modifier = Modifier.weight(1f), contentAlignment = Alignment.CenterStart, ) { innerText()