diff --git a/core/designsystem/src/main/java/com/susu/core/designsystem/component/textfieldbutton/SusuTextFieldButton.kt b/core/designsystem/src/main/java/com/susu/core/designsystem/component/textfieldbutton/SusuTextFieldButton.kt index 75bbfc24..0690f835 100644 --- a/core/designsystem/src/main/java/com/susu/core/designsystem/component/textfieldbutton/SusuTextFieldButton.kt +++ b/core/designsystem/src/main/java/com/susu/core/designsystem/component/textfieldbutton/SusuTextFieldButton.kt @@ -114,7 +114,7 @@ fun SusuTextFieldFillMaxButton( text = text, color = textColor, style = textStyle, - textAlign = TextAlign.Start, + textAlign = TextAlign.Center, overflow = overflow, maxLines = maxLines, minLines = minLines, @@ -348,7 +348,7 @@ fun TextFieldButtonPreview() { text = text, onTextChange = { text = it }, placeholder = "", - maxLines = 2, + maxLines = 1, minLines = 1, showClearIcon = true, style = LargeTextFieldButtonStyle.height46, @@ -364,7 +364,7 @@ fun TextFieldButtonPreview() { text = text, onTextChange = { text = it }, placeholder = "Button", - maxLines = 2, + maxLines = 1, minLines = 1, style = LargeTextFieldButtonStyle.height46, onClickButton = { isSaved = isSaved.not() }, @@ -379,7 +379,7 @@ fun TextFieldButtonPreview() { text = text, onTextChange = { text = it }, placeholder = "Button", - maxLines = 2, + maxLines = 1, minLines = 1, color = TextFieldButtonColor.Orange, style = LargeTextFieldButtonStyle.height46, @@ -397,7 +397,7 @@ fun TextFieldButtonPreview() { overflow = TextOverflow.Ellipsis, onTextChange = { text = it }, placeholder = "Button", - maxLines = 2, + maxLines = 1, minLines = 1, color = TextFieldButtonColor.Orange, style = LargeTextFieldButtonStyle.height46,