Remove weight on NiaButtonContent that was causing narrow buttons when using Row with horizontalScroll

pull/178/head
Caren Chang 3 years ago
parent f48fa174d4
commit 25df130b87

@ -324,7 +324,6 @@ private fun RowScope.NiaButtonContent(
} }
Box( Box(
Modifier Modifier
.weight(1f, fill = false)
.padding( .padding(
start = if (leadingIcon != null) { start = if (leadingIcon != null) {
NiaButtonDefaults.ButtonContentSpacing NiaButtonDefaults.ButtonContentSpacing

Loading…
Cancel
Save