Skip to content

Commit 3b889c9

Browse files
committed
Refactor: BitnagilSelectButton 컴포넌트 여백 간격 수정
1 parent 674852b commit 3b889c9

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

core/designsystem/src/main/java/com/threegap/bitnagil/designsystem/component/atom/BitnagilSelectButton.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import androidx.compose.ui.semantics.Role
2929
import androidx.compose.ui.semantics.role
3030
import androidx.compose.ui.semantics.semantics
3131
import androidx.compose.ui.text.TextStyle
32+
import androidx.compose.ui.text.style.LineHeightStyle
3233
import androidx.compose.ui.tooling.preview.Preview
3334
import androidx.compose.ui.unit.dp
3435
import com.threegap.bitnagil.designsystem.BitnagilTheme
@@ -93,7 +94,12 @@ fun BitnagilSelectButton(
9394
Text(
9495
text = title,
9596
color = contentColor,
96-
style = titleTextStyle,
97+
style = titleTextStyle.copy(
98+
lineHeightStyle = LineHeightStyle(
99+
alignment = LineHeightStyle.Alignment.Center,
100+
trim = LineHeightStyle.Trim.None,
101+
),
102+
),
97103
)
98104

99105
description?.let {

0 commit comments

Comments
 (0)