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

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

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

Loading…
Cancel
Save